Class UpDownAutomationPeer
Represents a class that provides UI Automation support for UpDown control.
Inheritance
Implements
Namespace: Syncfusion.Windows.Controls.Tools.AutomationPeer
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class UpDownAutomationPeer : FrameworkElementAutomationPeer, IRangeValueProvider
Constructors
UpDownAutomationPeer(UpDown)
Initializes a new instance of the UpDownAutomationPeer class.
Declaration
public UpDownAutomationPeer(UpDown control)
Parameters
Type | Name | Description |
---|---|---|
UpDown | control | The control. |
Methods
GetAutomationControlTypeCore()
Gets the control type for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type | Description |
---|---|
System.Windows.Automation.Peers.AutomationControlType | The System.Windows.Automation.Peers.AutomationControlType.Custom enumeration value. |
GetAutomationIdCore()
Provides the peer's behavior when a UI Automation client calls GetAutomationId or an equivalent UI Automation client API.
Declaration
protected override string GetAutomationIdCore()
Returns
Type | Description |
---|---|
System.String | The automation identifier. |
GetChildrenCore()
Gets the child controls of the UpDown control.
Declaration
protected override List<AutomationPeer> GetChildrenCore()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> | children control list. |
GetClassNameCore()
Gets the name of the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetClassName.
Declaration
protected override string GetClassNameCore()
Returns
Type | Description |
---|---|
System.String | An System.String.Empty string. |
GetHelpTextCore()
Provides the peer's behavior when a UI Automation client calls GetHelpText or an equivalent UI Automation client API.
Declaration
protected override string GetHelpTextCore()
Returns
Type | Description |
---|---|
System.String | The help text. |
GetNameCore()
Provides the peer's behavior when a UI Automation client calls GetName or an equivalent UI Automation client API.
Declaration
protected override string GetNameCore()
Returns
Type | Description |
---|---|
System.String | The name as used by assistive technoloGetClassNameCoreies and other UI Automation clients. |
GetPattern(PatternInterface)
Returns the patternInterface of the control
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Automation.Peers.PatternInterface | patternInterface |
Returns
Type |
---|
System.Object |
SetValue(Double)
Sets value of the UpDown control
Declaration
public void SetValue(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |