Description of property in property window [modified]
-
Hi all! I want to show description of the property(of a user control) in the property dialog box in Visual Studio. I tried to use following code Text1 property is showing in the property box but but default value and its description are not there. Any idea to how to fix it? Bindable(True), DefaultValue("Nitin"), Description("Text value of the text box"), Category("Misc"), Browsable(True) _ 'Above line was not showing properly here so I remove < at the start & > at end Public Property Text1() As String Get Return TextBox1.Text End Get Set(ByVal value As String) TextBox1.Text = value End Set End Property Thanks
-
Hi all! I want to show description of the property(of a user control) in the property dialog box in Visual Studio. I tried to use following code Text1 property is showing in the property box but but default value and its description are not there. Any idea to how to fix it? Bindable(True), DefaultValue("Nitin"), Description("Text value of the text box"), Category("Misc"), Browsable(True) _ 'Above line was not showing properly here so I remove < at the start & > at end Public Property Text1() As String Get Return TextBox1.Text End Get Set(ByVal value As String) TextBox1.Text = value End Set End Property Thanks