locked
Change an Inherited Public Property To Private (or remove it) RRS feed

  • Question

  • User1106522324 posted

    Is it possible to remove (or hide) several of the inherited Public Properties in my Custom System.Web.UI.WebControls.Menu server control.

    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.

    <SuiteDreams:Menu runat="server" ID="mnu" Orientation="Horizontal" ForeColor="Beige" BackColor="Brown">

    Thanks,

    Kevin C

    Tuesday, February 21, 2012 5:41 PM

Answers