Share via


StatusBar.Text Property

Definition

Sets or gets the selected text.

public:
 property System::String ^ default { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ default { Platform::String ^ get(); void set(Platform::String ^ value); };
[System.Runtime.InteropServices.DispId(0)]
public string this { [System.Runtime.InteropServices.DispId(0)] get; [System.Runtime.InteropServices.DispId(0)] set; }
[<System.Runtime.InteropServices.DispId(0)>]
[<get: System.Runtime.InteropServices.DispId(0)>]
[<set: System.Runtime.InteropServices.DispId(0)>]
member this.Text : string with get, set
Default Public Property Text As String

Property Value

A string representing the selected text.

Attributes

Remarks

The Text property is the default property for the StatusBar object.

When the Text property is read, the text in the status bar is returned.

When the Text property is set, the value is displayed in the status bar.

Applies to