How to remove a property?

Discussion in 'ASP .Net Building Controls' started by Showjumper, Jul 24, 2006.

  1. Showjumper

    Showjumper Guest

    Is it possible to remove a property? For example, if you inherit from
    webcontrol then you have the CssClass property. But suppose i dont want to
    haveCssClass in the property inspector, can i remove it from the control.
     
    Showjumper, Jul 24, 2006
    #1
    1. Advertising

  2. Showjumper

    Gary Vidal Guest

    In vb.net you can use the Shadows Keyword
    and make the method private.


    --
    Gary Vidal

    "Showjumper" <dfgkjhdf> wrote in message
    news:...
    >
    > Is it possible to remove a property? For example, if you inherit from
    > webcontrol then you have the CssClass property. But suppose i dont want to
    > haveCssClass in the property inspector, can i remove it from the control.
    >
    >
     
    Gary Vidal, Jul 24, 2006
    #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. Eric Newton
    Replies:
    3
    Views:
    9,482
    Brock Allen
    Apr 4, 2005
  2. Simon-Pierre  Jarry
    Replies:
    2
    Views:
    2,386
    Henrik
    Aug 10, 2005
  3. tshad
    Replies:
    6
    Views:
    21,492
    tshad
    Aug 8, 2006
  4. Replies:
    0
    Views:
    875
  5. Curt_C [MVP]

    Remove an inherited property?

    Curt_C [MVP], Sep 2, 2005, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    156
    Curt_C [MVP]
    Sep 6, 2005
Loading...

Share This Page