Class
RadColorPaletteViewAutomationPeer

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:

cs-api-definition
public class RadColorPaletteViewAutomationPeer : FrameworkElementAutomationPeer, ISelectionProvider

Inheritance: objectRadColorPaletteViewAutomationPeer

Implements: ISelectionProvider

Constructors

RadColorPaletteViewAutomationPeer(RadColorPaletteView)

Initializes a new instance of the RadColorPaletteViewAutomationPeer class.

Declaration

cs-api-definition
public RadColorPaletteViewAutomationPeer(RadColorPaletteView owner)

Parameters

owner

RadColorPaletteView

The owner.

Methods

GetAutomationControlTypeCore()

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetChildrenCore()

Declaration

cs-api-definition
[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>

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetLocalizedControlTypeCore()

When overridden in a derived class, is called by .

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

The type of the control.

GetNameCore()

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

GetPattern(PatternInterface)

Declaration

cs-api-definition
public override object GetPattern(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

Returns

object