ClassRepeatButton
Class
Wraps a Silverlight RepeatButton element.
Definition
Namespace:ArtOfTest.WebAii.Silverlight.UI
Assembly:ArtOfTest.WebAii.dll
Syntax:
cs-api-definition
public class RepeatButton : ButtonBase, IAutomationPeer, IPeerConverter, IButtonBase, IContentControl, IControl, IRepeatButton, IFrameworkElement, ITargetElement
Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementSilverlightTestElementControlContentControlButtonBaseRepeatButton
Implements:
Inherited Members
Constructors
RepeatButton()
Declaration
cs-api-definition
public RepeatButton()
Fields
DelayProperty
Declaration
cs-api-definition
public static AutomationProperty DelayProperty
Field Value
IntervalProperty
Declaration
cs-api-definition
public static AutomationProperty IntervalProperty
Field Value
Properties
Methods
GetRealType()
Gets the real object type. This property returns string.empty on FrameworkElement and all subclasses that inherit from it.
UserPress(int)
Press and hold the RepeatButton for the specified number of milliseconds
Declaration
cs-api-definition
public void UserPress(int holdTime)
Parameters
holdTime
The number of milliseconds to hold the button down for
Implements
Remarks
Due to inaccuracies in automation and Silverlight timing, the hold time is approximate.