Change an Inherited Public Property To Private (or remove it)http://forums.asp.net/t/1772231.aspx/1?Change+an+Inherited+Public+Property+To+Private+or+remove+it+Tue, 21 Feb 2012 21:47:33 -050017722314843897http://forums.asp.net/p/1772231/4843897.aspx/1?Change+an+Inherited+Public+Property+To+Private+or+remove+it+Change an Inherited Public Property To Private (or remove it) <p>Is it possible to remove (or hide) several of the inherited Public Properties in my Custom System.Web.UI.WebControls.Menu server control.</p> <p>Example of which are BackColor, ForeColor, etc. I am not using them and I don't want my developers trying to set these values in my Custom Server control.</p> <p></p> <pre class="prettyprint">&lt;SuiteDreams:Menu runat=&quot;server&quot; ID=&quot;mnu&quot; Orientation=&quot;Horizontal&quot; ForeColor=&quot;Beige&quot; BackColor=&quot;Brown&quot;&gt;</pre> <p></p> <p>Thanks,</p> <p>Kevin C</p> <p></p> <p></p> 2012-02-21T21:41:00-05:004843904http://forums.asp.net/p/1772231/4843904.aspx/1?Re+Change+an+Inherited+Public+Property+To+Private+or+remove+it+Re: Change an Inherited Public Property To Private (or remove it) <p>Please refer the below thread.</p> <p><a target="_blank" title="http://social.msdn.microsoft.com/forums/en-US/winforms/thread/695a434e-4024-473b-8fbc-47df6b514b7b" href="http://social.msdn.microsoft.com/forums/en-US/winforms/thread/695a434e-4024-473b-8fbc-47df6b514b7b">http://social.msdn.microsoft.com/forums/en-US/winforms/thread/695a434e-4024-473b-8fbc-47df6b514b7b</a></p> 2012-02-21T21:47:33-05:00