Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadRepeatArrowElement : RadArrowButtonElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IButtonControl, IImageElement
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemRadButtonItemRadArrowButtonElementRadRepeatArrowElement...
Derived Classes:
Implements:
Inherited Members
Constructors
public RadRepeatArrowElement()
Fields
Identifies the delay before a pressed arrow begins repeating; zero passes validation but cannot be used as a timer interval.
public static readonly RadProperty DelayProperty
Identifies the interval between repeat clicks; its valid values are positive.
public static readonly RadProperty IntervalProperty
Properties
Gets or sets the amount of time, in milliseconds, the Repeat button element waits while it is pressed before it starts repeating. Although zero passes property validation, it cannot be used as a timer interval.
[Bindable(true)]
public int Delay { get; set; }
Methods
Disposes the timer used to generate repeated clicks.
protected override void DisposeManagedResources()
Overrides:
Raises the click, temporarily suspending the repeat timer for the duration of the call, and, if this element belongs to a RadRepeatButton, also invokes that button's click handling.
Clears the pressed state and stops the repeat timer whenever the element's enabled state changes.
protected override void OnEnabledChanged(RadPropertyChangedEventArgs e)
Overrides:
Starts the repeat timer on a left mouse button press, unless ClickMode is Hover.
Resumes the repeat timer when the mouse re-enters the element while it is still pressed.
Updates the mouse-over visual state when the mouse leaves the element.
Stops the repeat timer on a left mouse button release, unless ClickMode is Hover.
Called on each timer tick while the button is pressed; synchronizes the timer's interval with Interval and raises a click as long as the element is still pressed (or hovered, for Hover) and the left mouse button is held down.