Show / Hide Table of Contents

Property wnd.NameWinforms


Overload

Gets the Control.Name property value of a .NET Windows Forms control.

public string NameWinforms { get; }
Property Value
string

null if it is not a Windows Forms control or if failed.

Remarks

note

Use this with controls of other processes. Don't use with your controls, when you have a Control object.

note

Slow when getting names of multiple controls in a window. Instead create a WinformsControlNames instance and call its WinformsControlNames.GetControlName method for each control.

See Also

WinformsControlNames.IsWinformsControl