Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Property Descriptions
Message
From
08/09/2005 17:02:46
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01047815
Message ID:
01047877
Views:
8
You're welcome! Glad to help ... =)

~~Bonnie



>Perfect! Thanks!
>
>
>>Kevin,
>>
>>You need to use the Description attribute:
>>
>>[Description("I want this string to appear in the property sheet")]
>>public string FieldName
>>{
>>  get
>>  {
>>    return m_FieldName;
>>  }
>>  set
>>  {
>>    m_FieldName = value;
>>  }
>>		>}
>>
>>
>>~~Bonnie
>>
>>
>>
>>>How do I create a property description string that will appear in
>>>the property sheet?
>>>
>>>
>>>// I want this string to appear in the property sheet
>>>public string FieldName
>>>{
>>>  get
>>>  {
>>>    return m_FieldName;
>>>  }
>>>  set
>>>  {
>>>    m_FieldName = value;
>>>  }
>>>		
>>>}
>>>
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform