cloudwp
New member
- Joined
- Oct 16, 2021
- Messages
- 2
- Programming Experience
- 10+
I want to create an property for a user control through function.
or
Change the Attribute of a property through function.
Am i able to change the Browsable Attribute through function ?
Thank you for your answers
or
Change the Attribute of a property through function.
C#:
[Description( "PlaceHolder Text" ), Category( "SuggestBox" )]
[Browsable( true ), EditorBrowsable( EditorBrowsableState.Always ), System.ComponentModel.Bindable( true )]
[DesignerSerializationVisibility( DesignerSerializationVisibility.Visible )]
public string IPlaceHolderText
{
get { return myAutoSuggestBox.PlaceholderText; }
set { myAutoSuggestBox.PlaceholderText = value; }
Am i able to change the Browsable Attribute through function ?
Thank you for your answers
Last edited by a moderator: