Class
RadColorEditorAutomationPeer

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:

cs-api-definition
public class RadColorEditorAutomationPeer : FrameworkElementAutomationPeer, IValueProvider

Inheritance: objectRadColorEditorAutomationPeer

Implements: IValueProvider

Constructors

RadColorEditorAutomationPeer(RadColorEditor)

Initializes a new instance of the RadColorEditorAutomationPeer class.

Declaration

cs-api-definition
public RadColorEditorAutomationPeer(RadColorEditor owner)

Parameters

owner

RadColorEditor

The owner.

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

GetChildrenCore()

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

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

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

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)

Declaration

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

Parameters

value

string