Readonly Property

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alessandro Rossi

    #1

    Readonly Property

    Hi,
    I will want to find if a control is a type of control that
    has the "ReadOnly" property.

    Who can help me?

    Thank you so much
    Alessandro Rossi
  • Jon Skeet

    #2
    Re: Readonly Property

    Alessandro Rossi <alessandro.ros si@areaitsrl.co m> wrote:[color=blue]
    > I will want to find if a control is a type of control that
    > has the "ReadOnly" property.[/color]

    Call GetType on the control reference, then call
    GetProperty("Re adOnly") on the type.

    --
    Jon Skeet - <skeet@pobox.co m>
    Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

    If replying to the group, please do not mail me too

    Comment

    Working...