Class ColorPickerPaletteAutomationPeer
Provides UI Automation support for the ColorPickerPalette control.
Inheritance
Implements
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class ColorPickerPaletteAutomationPeer : FrameworkElementAutomationPeer, IInvokeProvider, IExpandCollapseProvider
Constructors
ColorPickerPaletteAutomationPeer(ColorPickerPalette)
Initializes a new instance of the ColorPickerPaletteAutomationPeer class.
Declaration
public ColorPickerPaletteAutomationPeer(ColorPickerPalette control)
Parameters
| Type | Name | Description |
|---|---|---|
| ColorPickerPalette | control | The ColorPickerPalette associated with this automation peer. |
Properties
ExpandCollapseState
Gets the expand/collapse state of the palette's drop-down.
Declaration
public ExpandCollapseState ExpandCollapseState { get; }
Property Value
| Type |
|---|
| System.Windows.Automation.ExpandCollapseState |
Methods
GetAutomationControlTypeCore()
Gets the automation control type of the ColorPickerPalette.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
| Type |
|---|
| System.Windows.Automation.Peers.AutomationControlType |
GetAutomationIdCore()
Gets the automation ID of the ColorPickerPalette.
Declaration
protected override string GetAutomationIdCore()
Returns
| Type |
|---|
| System.String |
GetClassNameCore()
Gets the class name of the ColorPickerPalette, taken from the owner
type so the UIA ClassName property reflects the actual
control class and stays in sync with it.
Declaration
protected override string GetClassNameCore()
Returns
| Type |
|---|
| System.String |
GetHelpTextCore()
Gets the help text of the ColorPickerPalette, describing the control and the modes in which it can operate.
Declaration
protected override string GetHelpTextCore()
Returns
| Type |
|---|
| System.String |
GetLocalizedControlTypeCore()
Gets the localized control type of the ColorPickerPalette.
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
| Type |
|---|
| System.String |
GetNameCore()
Gets the name of the ColorPickerPalette.
Declaration
protected override string GetNameCore()
Returns
| Type |
|---|
| System.String |
GetPattern(PatternInterface)
Gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Automation.Peers.PatternInterface | patternInterface | A value from the System.Windows.Automation.Peers.PatternInterface enumeration. |
Returns
| Type | Description |
|---|---|
| System.Object | The object that supports the specified pattern, or null if unsupported. |