Wednesday, May 1, 2013
User Control içinde TextBox'ın Text property sini override etmek.
User Control içinde TextBox'ın Text property sini override etmek.
Imports System.ComponentModel
<EditorBrowsable(EditorBrowsableState.Always)> _
<Browsable(True)> _
<DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)> _
<Bindable(True)> _
Public Overrides Property Text() As String
Get
Return TextBox1.Text
End Get
Set(ByVal value As String)
TextBox1.Text = value
End Set
End Property
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment