Muokkaa

Jaa


ControlType.Custom Field

Definition

Identifies a control that is not one of the defined control types.

public: static initonly System::Windows::Automation::ControlType ^ Custom;
public static readonly System.Windows.Automation.ControlType Custom;
 staticval mutable Custom : System.Windows.Automation.ControlType
Public Shared ReadOnly Custom As ControlType 

Field Value

Remarks

The Custom control type indicates a control that is not identified as one of the predefined control types (such as Button or Calendar).

Control developers should check the other control types before designating their control as a Custom control type to be sure that their control does not provide the same functionality as one of the defined control types.

A Custom control type requires extra work for the provider to implement UI Automation. Also, UI Automation client products will not be able to anticipate the control structure, keyboard interaction, and possible control patterns based on the control type of the control.

Applies to