New to Telerik UI for WPFStart a free 30-day trial

AutomationPeer class for RadColorPicker.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
public class RadColorPickerAutomationPeer : FrameworkElementAutomationPeer, IExpandCollapseProvider, IValueProvider

Inheritance: objectRadColorPickerAutomationPeer

Implements: IExpandCollapseProviderIValueProvider

Constructors

Initializes a new instance of the RadColorPickerAutomationPeer class.

C#
public RadColorPickerAutomationPeer(RadColorPicker owner)
Parameters:ownerRadColorPicker

The owner.

Properties

ExpandCollapseState

ExpandCollapseState

Gets the state, expanded or collapsed, of the control.

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

The state, expanded or collapsed, of the control.

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

Hides all nodes, controls, or content that are descendants of the control.

C#
public void Collapse()

Displays all child nodes, controls, or content of the control.

C#
public void Expand()
C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

C#
protected override string GetClassNameCore()
Returns:

string

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

Sets the value of a control.

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