ClassRadColorPaletteViewAutomationPeer
Represents the automation peer for the RadColorPaletteView class, enabling UI Automation clients to interact with the color palette control programmatically. This class implements the ISelectionProvider interface, which allows it to provide selection functionality, such as determining if selection is required or if multiple selections are allowed. The automation peer exposes methods to get selected items and manage child elements within the color palette. It overrides various methods to ensure the automation peer behaves correctly with regard to naming, help text, control type, and status reporting.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
public class RadColorPaletteViewAutomationPeer : FrameworkElementAutomationPeer, ISelectionProvider
Inheritance: objectRadColorPaletteViewAutomationPeer
Implements:
Constructors
RadColorPaletteViewAutomationPeer(RadColorPaletteView)
Initializes a new instance of the RadColorPaletteViewAutomationPeer class.
Declaration
public RadColorPaletteViewAutomationPeer(RadColorPaletteView owner)
Parameters
owner
The owner.
Methods
GetAutomationControlTypeCore()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
GetChildrenCore()
Declaration
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Justification = "This is an override of a built-in class, the return type cannot be changed.")]
protected override List<AutomationPeer> GetChildrenCore()
Returns
List<AutomationPeer>
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by .
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
The type of the control.
GetPattern(PatternInterface)
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
Returns