ClassRadColorEditorAutomationPeer
Provides the functionality for UI Automation peer for the RadColorEditor control. This class facilitates the communication between the RadColorEditor and the UI Automation framework, enabling accessibility and automated testing. It implements the IValueProvider interface to provide value properties and methods for manipulating the color selection within the control, including properties to determine if the value is read-only and to retrieve or set the current selected color. Additionally, it handles information about child elements such as sliders and masks within the RadColorEditor, and provides localization and control type information for UI Automation clients.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
public class RadColorEditorAutomationPeer : FrameworkElementAutomationPeer, IValueProvider
Inheritance: objectRadColorEditorAutomationPeer
Implements:
Constructors
RadColorEditorAutomationPeer(RadColorEditor)
Initializes a new instance of the RadColorEditorAutomationPeer class.
Declaration
public RadColorEditorAutomationPeer(RadColorEditor owner)
Parameters
owner
The owner.
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
GetChildrenCore()
Declaration
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()
Returns
List<AutomationPeer>
GetHelpTextCore()
Gets the description of the UIElement that is associated with this . This method is called by .
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