Hiding public members of a base class

Discussion in 'ASP .Net Web Controls' started by Ombra, Jun 4, 2004.

  1. Ombra

    Ombra Guest

    Hello all,

    I am a C# newbie and am writing a composite custom server control.
    The base class for the control is a Panel. I want to restrict the
    changes a user is allowed to make such as border styles, adding
    controls to the controls collection, etc...

    If and how can I hide the public members?

    Thanks in advance.
    Ombra, Jun 4, 2004
    #1
    1. Advertising

  2. Ombra

    Mythran Guest

    Wait for .Net 2005 :)

    As of now, you really can't hide members :(

    Mythran


    "Ombra" <> wrote in message
    news:...
    > Hello all,
    >
    > I am a C# newbie and am writing a composite custom server control.
    > The base class for the control is a Panel. I want to restrict the
    > changes a user is allowed to make such as border styles, adding
    > controls to the controls collection, etc...
    >
    > If and how can I hide the public members?
    >
    > Thanks in advance.
    Mythran, Jun 4, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Charles A. Lackman
    Replies:
    1
    Views:
    1,323
    smith
    Dec 8, 2004
  2. Brahmam
    Replies:
    3
    Views:
    547
    Francois Beaussier
    Jan 11, 2006
  3. SpamProof
    Replies:
    0
    Views:
    528
    SpamProof
    Oct 21, 2003
  4. flopbucket
    Replies:
    2
    Views:
    414
    Andrey Tarasevich
    Jun 23, 2006
  5. Hicham Mouline
    Replies:
    1
    Views:
    580
    Victor Bazarov
    Apr 20, 2009
Loading...

Share This Page