Show / Hide Table of Contents

Property wnd.Name


Overload

Gets name.

public string Name { get; }
Property Value
string

Returns "" if no name. Returns null if failed, eg if the window is closed. Supports lastError.

Remarks

Top-level window name usually its title bar text. Control name usually is its text that does not change, for example button or static (label) control text. Unlike wnd.ControlText, this function usually does not get variable text, for example Edit control editable text, ComboBox control selected item text, status bar text. Calls wnd.GetText(false, true).

See Also

wnd.SetText
wnd.ControlText
wnd.NameElm
wnd.NameWinforms