This project is read-only.

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

Sep 20, 2011 at 2:00 AM
Edited Sep 20, 2011 at 2: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()
        {
        }





Sep 20, 2011 at 2:54 PM

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

Sep 22, 2011 at 1:05 AM

Expect