Represents a control that raises its Click event repeatedly from the time it is pressed until it is released. Namespace: Microsoft.Surface.Presentation.Controls.Primitives
Assembly: Microsoft.Surface.Presentation (in Microsoft.Surface.Presentation)
The SurfaceRepeatButton class represents a control that is similar to a SurfaceButton control. However, SurfaceRepeatButton objects give you control over when and how the Click event occurs. The SurfaceRepeatButton object raises the Click event repeatedly from the time it is pressed until it is released. The Delay property determines when the event begins. You can also control the interval of the repetitions with the Interval property.
The SurfaceRepeatButton control is used in the default template for the SurfaceScrollBar and SurfaceSlider controls to style the areas of the controls that, when touched, move the thumb.
|Operating System (OS)||Windows 7|
|Software Developer Kit (SDK)||Surface 2.0 |
.NET Framework 4
|Developer environment||Visual Studio 2010, Express or full edition|
Microsoft Expression Blend 4.0 (optional)
|End-user hardware||Devices made for Surface 2.0, or |
Windows Touch computers
Did you find this information useful? Please send us your suggestions and comments.
© Microsoft Corporation. All rights reserved.