Class RadButton
A Button control.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
[TelerikToolboxCategory("Buttons")]
public class RadButton : Button
Constructors
RadButton()
Initializes a new instance of the RadButton class.
Declaration
public RadButton()
Fields
ActivateEvent
Identifies the Activate routed event.
Declaration
public static readonly RoutedEvent ActivateEvent
Field Value
System.
|
CornerRadiusProperty
Identifies the CornerRadius property.
Declaration
public static readonly DependencyProperty CornerRadiusProperty
Field Value
System.
|
HoverDelayProperty
Identifies the HoverDelay property.
Declaration
public static readonly DependencyProperty HoverDelayProperty
Field Value
System.
|
HoverEvent
Identifies the Hover routed event.
Declaration
public static readonly RoutedEvent HoverEvent
Field Value
System.
|
InnerCornerRadiusProperty
Identifies the InnerCornerRadius property.
Declaration
public static readonly DependencyProperty InnerCornerRadiusProperty
Field Value
System.
|
IsBackgroundVisibleProperty
Identifies the IsBackgroundVisible property.
Declaration
public static readonly DependencyProperty IsBackgroundVisibleProperty
Field Value
System.
|
Properties
CornerRadius
Gets or sets a value that represents the degree to which the corners of the control are rounded. This is a dependency property.
Declaration
public CornerRadius CornerRadius { get; set; }
Property Value
System.
|
HoverDelay
Gets or sets whether the popup opens when mouse hovers for pointed milliseconds Value of zero means no auto open. This is a dependency property.
Declaration
public TimeSpan HoverDelay { get; set; }
Property Value
System.
|
InnerCornerRadius
Gets or sets a value that represents the degree to which the inner corners of the control are rounded. This is a dependency property.
Declaration
public CornerRadius InnerCornerRadius { get; set; }
Property Value
System.
|
IsBackgroundVisible
Sets the visual appearance of the chrome not to render in Normal mode.
Declaration
public bool IsBackgroundVisible { get; set; }
Property Value
System.
|
Methods
OnActivate()
Raises the Activate event.
Declaration
protected virtual void OnActivate()
OnApplyTemplate()
Invoked whenever application code or internal processes
(such as a rebuilding layout pass) call.
System.
Declaration
public override void OnApplyTemplate()
OnClick()
Invoke the base OnClick and execute the associated Command.
Declaration
protected override void OnClick()
OnCreateAutomationPeer()
Creates a RadButtonAutomationPeer.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.
|
OnGotFocus(RoutedEventArgs)
Invoked on got focus.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
System.
|
OnHover()
Invocated when the hover happens.
Declaration
protected virtual void OnHover()
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
OnIsPressedChanged(DependencyPropertyChangedEventArgs)
Called when the IsPressed property changes.
Declaration
protected override void OnIsPressedChanged(DependencyPropertyChangedEventArgs e)
Parameters
System.
|
OnLostFocus(RoutedEventArgs)
Invoked on focus lost.
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
System.
|
OnMouseEnter(MouseEventArgs)
Starts the auto open timer.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
System.
|
OnMouseLeave(MouseEventArgs)
Stops the auto open timer.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
System.
|
OnMouseMove(MouseEventArgs)
Restarts the auto open timer.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.
|
Events
Activate
Occurs when button is clicked.
Declaration
public event EventHandler<RadRoutedEventArgs> Activate
Event Type
System.
|
Hover
Occurs when button is hovered.
Declaration
public event EventHandler<RadRoutedEventArgs> Hover
Event Type
System.
|