Show / Hide Table of Contents

Class WinformsControlNames

Gets programming names of .NET Windows Forms controls.

public sealed class WinformsControlNames : IDisposable
Remarks

Usually each control has a unique name. It's the Control.Name property. Useful to identify controls without a classic name/text. The control id of these controls is not useful, it is not constant.


Namespace: Au.More
Assembly: Au.dll
Inheritance
object
WinformsControlNames

Constructors

Name Description
WinformsControlNames(wnd)

Prepares to get control names.

Methods

Name Description
Dispose()
GetControlName(wnd)

Gets control name.

GetSingleControlName(wnd)

Gets the programming name of a Windows Forms control.

IsWinformsControl(wnd)

Returns true if window class name starts with "WindowsForms". Usually it means that we can get Windows Forms control name of w and its child controls.