Share via


KnownControls Class

Definition

Represents the known controls.

public ref class KnownControls
public class KnownControls
type KnownControls = class
Public Class KnownControls
Inheritance
KnownControls

Constructors

KnownControls()

Initializes a new instance of the KnownControls class.

Methods

BuildAutomationId(IAccessible, Int32)

Builds an automation element identifier for an IAccessible interface.

GetControlName(IAccessible, Int32)

Gets the associated control name of the specified IAccessible, if previously registered.

GetControlName(String)

Gets the associated control name of the specified automation element, if previously registered.

IsKnown(IAccessible, Int32)

Checks whether the specified IAccessible is associated with a control name using the internal IAccessible identification scheme.

IsKnown(String)

Checks whether the specified control name is associated with any accessible element.

RegisterControl(String, IAccessible, Int32)

Associates control name with the specified IAccessible using the internal IAccessible identification scheme.

RegisterControl(String, String)

Associates control name with the specified automation element identifier.

UnregisterControl(IAccessible, Int32)

Disassociates all control names with the specified IAccessible, using the internal IAccessible identification scheme.

UnregisterControl(String)

Disassociates all control names with the specified automation element identifier.

Applies to