Class
RadNumericBoxAutomationPeer

Automation Peer for the RadNumericBox class.

Definition

Namespace:Telerik.UI.Automation.Peers

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class RadNumericBoxAutomationPeer : RangeInputBaseAutomationPeer, IRangeValueProvider

Inheritance: objectRadControlAutomationPeerRadHeaderedControlAutomationPeerRangeControlBaseAutomationPeerRangeInputBaseAutomationPeerRadNumericBoxAutomationPeer

Implements: IRangeValueProvider

Constructors

RadNumericBoxAutomationPeer(RadNumericBox)

Initializes a new instance of the RadNumericBoxAutomationPeer class.

Declaration

cs-api-definition
public RadNumericBoxAutomationPeer(RadNumericBox owner)

Parameters

owner

RadNumericBox

The RadNumericBox that is associated with this RadNumericBoxAutomationPeer.

Properties

IsReadOnly

Gets a value indicating 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.

LargeChange

Gets the value that is added to or subtracted from the property when a large change is made, such as with the PAGE DOWN key.

Declaration

cs-api-definition
public double LargeChange { get; }

Property Value

double

The large-change value supported by the control or null (Nothing in Microsoft Visual Basic .NET) if the control does not support .

Maximum

Gets the maximum range value supported by the control.

Declaration

cs-api-definition
public double Maximum { get; }

Property Value

double

The maximum value supported by the control or null (Nothing in Microsoft Visual Basic .NET) if the control does not support .

Minimum

Gets the minimum range value supported by the control.

Declaration

cs-api-definition
public double Minimum { get; }

Property Value

double

The minimum value supported by the control or null (Nothing in Microsoft Visual Basic .NET) if the control does not support .

SmallChange

Gets the value that is added to or subtracted from the property when a small change is made, such as with an arrow key.

Declaration

cs-api-definition
public double SmallChange { get; }

Property Value

double

The small-change value or null (Nothing in Microsoft Visual Basic .NET) if the control does not support .

Value

Gets the value of the control.

Declaration

cs-api-definition
public double Value { get; }

Property Value

double

The value of the control or null (Nothing in Microsoft Visual Basic .NET) if the control does not support .

Methods

GetAutomationControlTypeCore()

Gets the control type for the RadNumericBox that is associated with this RadNumericBoxAutomationPeer.

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

Overrides RangeInputBaseAutomationPeer.GetAutomationControlTypeCore()

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

Overrides RangeInputBaseAutomationPeer.GetClassNameCore()

GetClickablePointCore()

Called by GetClickablePoint.

Declaration

cs-api-definition
protected override Point GetClickablePointCore()

Returns

Point

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetLocalizedControlTypeCore()

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

Overrides RangeInputBaseAutomationPeer.GetLocalizedControlTypeCore()

GetNameCore()

GetNameCore will return a value matching (in priority order)

  1. Automation.Name
  2. Header
  3. FrameworkElements.GetNameCore()
  4. String.Empty

The priority mimics the behavior in AutoSuggestBox / ComboBox.

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

Overrides RangeInputBaseAutomationPeer.GetNameCore()

GetPatternCore(PatternInterface)

Declaration

cs-api-definition
protected override object GetPatternCore(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

Returns

object

SetValue(double)

Sets the value of the control.

Declaration

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

Parameters

value

double