Partager via


IXRRepeatButton (Windows Embedded CE 6.0)

1/6/2010

This class represents a repeat-button control that raises its Click event multiple times, while that control is in a pressed state.

Syntax

class IXRRepeatButton : public IXRButtonBase

Methods

Method Description

IXRRepeatButton::GetDelay

Retrieves the time, in milliseconds, that the repeat button waits after it is pressed, before it starts repeating the click action.

IXRRepeatButton::GetInterval

Retrieves the time, in milliseconds, between repetitions of the click action, as soon as the repeating starts.

IXRRepeatButton::SetDelay

Sets the time, in milliseconds, that the repeat button waits after it is pressed, before it starts repeating the click action.

IXRRepeatButton::SetInterval

Sets the time, in milliseconds, between repetitions of the click action, as soon as the repeating starts.

Remarks

The IXRRepeatButton class represents a control that resembles a button. However, repeat buttons give you control over when and how the Click event occurs. A repeat button raises the Click event multiple times, while that control is in a pressed state. You can determine when the event starts by calling IXRRepeatButton::SetDelay. You can also control the interval of repetitions by calling IXRRepeatButton::SetInterval.

You can also define a repeat-button control in Microsoft Silverlight 2 XAML. For information about the differences between XAML in Silverlight for Windows Embedded and Silverlight 2, see Differences Between Silverlight for the Web and Silverlight for Windows Embedded. For more information about how to define this element in the source XAML for your application, see this Microsoft Web site.

Inheritance Hierarchy

IXRDependencyObject

    IXRUIElement

        IXRFrameworkElement

            IXRControl

                IXRContentControl

                    IXRButtonBase

                        IXRRepeatButton

.NET Framework Equivalent

System.Windows.Controls.Primitives.RepeatButton

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Classes for UI Element Management