skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadButton

A Button control.

Inheritance
System.Object
RadButton
RadGeometryButton
GroupHeaderButton
RadAIPromptButton
RadDropDownButton
RadHyperlinkButton
RadImageEditorButton
RadPathButton
RadRibbonButton
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.Windows.RoutedEvent

CornerRadiusProperty

Identifies the CornerRadius property.

Declaration
public static readonly DependencyProperty CornerRadiusProperty
Field Value
System.Windows.DependencyProperty

HoverDelayProperty

Identifies the HoverDelay property.

Declaration
public static readonly DependencyProperty HoverDelayProperty
Field Value
System.Windows.DependencyProperty

HoverEvent

Identifies the Hover routed event.

Declaration
public static readonly RoutedEvent HoverEvent
Field Value
System.Windows.RoutedEvent

InnerCornerRadiusProperty

Identifies the InnerCornerRadius property.

Declaration
public static readonly DependencyProperty InnerCornerRadiusProperty
Field Value
System.Windows.DependencyProperty

IsBackgroundVisibleProperty

Identifies the IsBackgroundVisible property.

Declaration
public static readonly DependencyProperty IsBackgroundVisibleProperty
Field Value
System.Windows.DependencyProperty

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.Windows.CornerRadius

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.TimeSpan

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.Windows.CornerRadius

IsBackgroundVisible

Sets the visual appearance of the chrome not to render in Normal mode.

Declaration
public bool IsBackgroundVisible { get; set; }
Property Value
System.Boolean

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.Windows.Controls.Control.ApplyTemplate.

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.Windows.Automation.Peers.AutomationPeer

OnGotFocus(RoutedEventArgs)

Invoked on got focus.

Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
System.Windows.RoutedEventArgs e

OnHover()

Invocated when the hover happens.

Declaration
protected virtual void OnHover()

OnInitialized(EventArgs)

Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

The System.Windows.RoutedEventArgs that contains the event data.

OnIsPressedChanged(DependencyPropertyChangedEventArgs)

Called when the IsPressed property changes.

Declaration
protected override void OnIsPressedChanged(DependencyPropertyChangedEventArgs e)
Parameters
System.Windows.DependencyPropertyChangedEventArgs e

OnLostFocus(RoutedEventArgs)

Invoked on focus lost.

Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
System.Windows.RoutedEventArgs e

OnMouseEnter(MouseEventArgs)

Starts the auto open timer.

Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs e

OnMouseLeave(MouseEventArgs)

Stops the auto open timer.

Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs e

OnMouseMove(MouseEventArgs)

Restarts the auto open timer.

Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs e

Events

Activate

Occurs when button is clicked.

Declaration
public event EventHandler<RadRoutedEventArgs> Activate
Event Type
System.EventHandler<RadRoutedEventArgs>

Hover

Occurs when button is hovered.

Declaration
public event EventHandler<RadRoutedEventArgs> Hover
Event Type
System.EventHandler<RadRoutedEventArgs>

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.