ClassRadColorPaletteViewItemAutomationPeer
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
RadColorPaletteViewItemAutomationPeer(RadColorPaletteViewItem, RadColorPaletteView)
Initializes a new instance of the RadColorPaletteViewItemAutomationPeer class.
Declaration
public RadColorPaletteViewItemAutomationPeer(RadColorPaletteViewItem owner, RadColorPaletteView parentPalette)
Parameters
owner
The owner.
parentPalette
The parent palette.
Properties
IsReadOnly
Gets a value that specifies whether the value of a control is read-only.
Declaration
public bool IsReadOnly { get; }
Property Value
true if the value is read-only; false if it can be modified.
Methods
GetAutomationControlTypeCore()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
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
SetValue(string)
Sets the value of a control.