New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class RadColorPaletteViewAutomationPeer : FrameworkElementAutomationPeer, ISelectionProvider

Inheritance: objectRadColorPaletteViewAutomationPeer

Implements: ISelectionProvider

Constructors

Initializes a new instance of the RadColorPaletteViewAutomationPeer class.

C#
public RadColorPaletteViewAutomationPeer(RadColorPaletteView owner)
Parameters:ownerRadColorPaletteView

The owner.

Methods

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

C#
protected override List<AutomationPeer> GetChildrenCore()
Returns:

List<AutomationPeer>

C#
protected override string GetClassNameCore()
Returns:

string

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string

When overridden in a derived class, is called by .

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

The type of the control.

C#
protected override string GetNameCore()
Returns:

string

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterfaceReturns:

object