[PropertyGridVisible (false)] of the method does not work.

Sep 20, 2011 at 1:00 AM
Edited Sep 20, 2011 at 1:17 AM

I want to hide a sub-class FigureBase CreateNewStyle (). But found [PropertyGridVisible (false)] does not work.
How do I resolve this problem?

 
        [PropertyGridVisible(false)]
        public override void CreateNewStyle()
        { base.CreateNewStyle(); }

 

Others such as the following, all I want to hide, because these methods have abnormal behavior.

SegmentBisector.cs , PerpendicularLine.cs , ParallelLine.cs:


        [PropertyGridVisible(false)]
        public override void ConvertToRay()
        {
        }

        [PropertyGridVisible(false)]
        public override void ConvertToSegment()
        {
        }

AngleBisector.cs :


        [PropertyGridVisible(false)]
        public override void ConvertToLine()
        {
        }

        [PropertyGridVisible(false)]
        public override void ConvertToSegment()
        {
        }

        [PropertyGridVisible(false)]
        public override void Reverse()
        {
        }





Developer
Sep 20, 2011 at 1:54 PM

I'm familiar with the problem.  I'm going to let Kirill answer this one.

Sep 22, 2011 at 12:05 AM

Expect