Class
RadColorPaletteViewItemAutomationPeer

Represents an automation peer for the RadColorPaletteViewItem class, facilitating UI Automation interactions for color palette view items in a Telerik application's color palette. This class inherits from and implements the ISelectionItemProvider and IValueProvider interfaces. It provides access to properties indicating the item's selection state, value, and read-only status, and supports interaction methods to add or remove the item from the selection, and to set its value. The automation peer ensures that the color palette view items are accessible for automated testing and assistive technologies.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

cs-api-definition
public class RadColorPaletteViewItemAutomationPeer : FrameworkElementAutomationPeer, ISelectionItemProvider, IValueProvider

Inheritance: objectRadColorPaletteViewItemAutomationPeer

Implements: ISelectionItemProviderIValueProvider

Constructors

RadColorPaletteViewItemAutomationPeer(RadColorPaletteViewItem, RadColorPaletteView)

Initializes a new instance of the RadColorPaletteViewItemAutomationPeer class.

Declaration

cs-api-definition
public RadColorPaletteViewItemAutomationPeer(RadColorPaletteViewItem owner, RadColorPaletteView parentPalette)

Parameters

owner

RadColorPaletteViewItem

The owner.

parentPalette

RadColorPaletteView

The parent palette.

Properties

IsReadOnly

Gets a value that specifies whether the value of a control is read-only.

Declaration

cs-api-definition
public bool IsReadOnly { get; }

Property Value

bool

true if the value is read-only; false if it can be modified.

Value

Gets the value of the control.

Declaration

cs-api-definition
public string Value { get; }

Property Value

string

The value of the control as a string.

Methods

GetAutomationControlTypeCore()

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetAutomationIdCore()

Declaration

cs-api-definition
protected override string GetAutomationIdCore()

Returns

string

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItem()

Gets the item.

Declaration

cs-api-definition
public object GetItem()

Returns

object

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

SetValue(string)

Sets the value of a control.

Declaration

cs-api-definition
public void SetValue(string value)

Parameters

value

string