Udostępnij przez


MaskedTextBox.TextLength Własność

Definicja

Pobiera długość wyświetlanego tekstu.

public:
 virtual property int TextLength { int get(); };
[System.ComponentModel.Browsable(false)]
public override int TextLength { get; }
[<System.ComponentModel.Browsable(false)>]
member this.TextLength : int
Public Overrides ReadOnly Property TextLength As Integer

Wartość nieruchomości

Int32 reprezentująca liczbę znaków we Text właściwości. TextLength uwzględnia właściwości, takie jak HidePromptOnLeave, co oznacza, że wyniki zwracania mogą się różnić w zależności od tego, czy kontrolka ma fokus.

Atrybuty

Dotyczy