Can anybody tell me how to create custom events for contol.
i have created a user control mytextbox & i am showing some properties of textbox & now i want to expose user control events Please Tell me
thanks in advance
I am showing Following properties to user
Public Property ucText() As String Get ucText = TextBox1.Text End Get Set(ByVal Value As String) TextBox1.Text = Value End Set End Property Public Property ucForeColor() As Color Get ucForeColor = TextBox1.ForeColor End Get Set(ByVal Value As Color) TextBox1.ForeColor = Value End Set End Property
please tell me how to expose Events