Type. Custom Field
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.