New to Telerik UI for WPF? Start a free 30-day trial

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:

C#
public class RadColorEditorAutomationPeer : FrameworkElementAutomationPeer, IValueProvider

Inheritance: objectRadColorEditorAutomationPeer

Implements: IValueProvider

Constructors

Initializes a new instance of the RadColorEditorAutomationPeer class.

C#
public RadColorEditorAutomationPeer(RadColorEditor owner)
Parameters:ownerRadColorEditor

The owner.

Properties

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

C#
public bool IsReadOnly { get; }
Property Value:

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

Gets the value of the control.

C#
public string Value { get; }
Property Value:

The value of the control as a string.

Methods

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

C#
protected override List<AutomationPeer> GetChildrenCore()
Returns:

List<AutomationPeer>

C#
protected override string GetClassNameCore()
Returns:

string

Gets the description of the UIElement that is associated with this . This method is called by .

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string

When overridden in a derived class, is called by .

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

The type of the control.

C#
protected override string GetNameCore()
Returns:

string

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterfaceReturns:

object

C#
public void SetValue(string value)
Parameters:valuestring