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:
public class RadColorPaletteViewItemAutomationPeer : FrameworkElementAutomationPeer, ISelectionItemProvider, IValueProvider
Inheritance: objectRadColorPaletteViewItemAutomationPeer
Implements:
Constructors
Initializes a new instance of the RadColorPaletteViewItemAutomationPeer class.
public RadColorPaletteViewItemAutomationPeer(RadColorPaletteViewItem owner, RadColorPaletteView parentPalette)
The owner.
parentPaletteRadColorPaletteViewThe parent palette.
Properties
Gets a value that specifies whether the value of a control is read-only.
public bool IsReadOnly { get; }
true if the value is read-only; false if it can be modified.
Methods
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
When overridden in a derived class, is called by .
public override object GetPattern(PatternInterface patternInterface)
Sets the value of a control.