Class RadRepeatButton
Represents a RadRepeatButton. If the button is continuously held pressed, it generates clicks. The RadRepeatButton class is a simple wrapper for the RadRepeatButtonElement class. The RadRepeatButton acts to transfer events to and from its corresponding RadRepeatButtonElement instance. The RadRepeatButtonElement which is essentially the RadRepeatButtonElement control may be nested in other telerik controls. All graphical and logical functionality is implemented in RadRepeatButtonElement class.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadRepeatButton : RadButton, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider, IButtonControl
Constructors
RadRepeatButton()
Declaration
public RadRepeatButton()
Properties
ButtonElement
Gets the instance of RadRepeatButtonElement wrapped by this control. RadRepeatButtonElement is the main element in the hierarchy tree and encapsulates the actual functionality of RadRepeatButton.
Declaration
public RadRepeatButtonElement ButtonElement { get; }
Property Value
RadRepeatButtonElement
|
DefaultSize
Declaration
protected override Size DefaultSize { get; }
Property Value
System.Drawing.Size
|
Overrides
Delay
Gets or sets the amount of time, in milliseconds, the Repeat button element waits while it is pressed before it starts repeating. The value must be non-negative.
Declaration
[RadDefaultValue("Delay", typeof(RadRepeatButtonElement))]
public int Delay { get; set; }
Property Value
System.Int32
|
Interval
Gets or sets the amount of time, in milliseconds, between repeats once repeating starts. The value must be non-negative.
Declaration
[RadDefaultValue("Interval", typeof(RadRepeatButtonElement))]
public int Interval { get; set; }
Property Value
System.Int32
|
UseMnemonic
Determines whether the button can be clicked by using mnemonic characters.
Declaration
public bool UseMnemonic { get; set; }
Property Value
System.Boolean
|
Methods
CreateButtonElement()
Declaration
protected override RadButtonElement CreateButtonElement()
Returns
RadButtonElement
|
Overrides
OnButtonClick(EventArgs)
Raises the ButtonClick event.
Declaration
protected virtual void OnButtonClick(EventArgs e)
Parameters
System.EventArgs
e
|
ResetBackColorThemeOverrides()
Declaration
protected override void ResetBackColorThemeOverrides()
Overrides
ResetForeColorThemeOverrides()
Declaration
protected override void ResetForeColorThemeOverrides()
Overrides
SetBackColorThemeOverrides()
Declaration
protected override void SetBackColorThemeOverrides()
Overrides
SetForeColorThemeOverrides()
Declaration
protected override void SetForeColorThemeOverrides()
Overrides
Events
ButtonClick
Propagates internal element click.
Declaration
public event EventHandler ButtonClick
Event Type
System.EventHandler
|