Events

The RadButtons raise the following specific events:

Common

  • Click: Occurs each time when the button gets clicked. The event handler receives two arguments:

    • The sender argument contains the button. This argument is of type object, but can be cast to the respective button type.
    • A System.Windows.RoutedEventArgs object.
  • Activate: Occurs each time when the button gets clicked. The event handler receives two arguments:

    • The sender argument contains the button. This argument is of type object, but can be cast to the respective button type.
    • A Telerik.Windows.RoutedEventArgs object.

RadDropDownButton

  • DropDownClosed: Occurs when the drop down area gets closed. The event handler receives two arguments:

    • The sender argument contains the button. This argument is of type object, but can be cast to the RadDropDownButton type.
    • A System.Windows.RoutedEventArgs object.
  • DropDownOpened: Occurs when the drop down area gets opened. The event handler receives two arguments:

    • The sender argument contains the button. This argument is of type object, but can be cast to the RadDropDownButton type.
    • A System.Windows.RoutedEventArgs object.
  • DropDownOpening: Occurs before the drop down area gets opened. The event handler receives two arguments:

    • The sender argument contains the button. This argument is of type object, but can be cast to the RadDropDownButton type.
    • A System.Windows.RoutedEventArgs object.

RadRadioButton

  • Checked: Occurs when the button gets checked. The event handler receives two arguments:

    • The sender argument contains the button. This argument is of type object, but can be cast to the RadRadioButton type.
    • A System.Windows.RoutedEventArgs object.
  • Unchecked: Occurs when the button gets unchecked. The event handler receives two arguments:

    • The sender argument contains the button. This argument is of type object, but can be cast to the RadRadioButton type.
    • A System.Windows.RoutedEventArgs object.

RadSplitButton

  • Checked: Occurs when the button gets checked. The event handler receives two arguments:

    • The sender argument contains the button. This argument is of type object, but can be cast to the RadSplitButton type.
    • A System.Windows.RoutedEventArgs object.
  • Unchecked: Occurs when the button gets unchecked. The event handler receives two arguments:

    • The sender argument contains the button. This argument is of type object, but can be cast to the RadSplitButton type.
    • A System.Windows.RoutedEventArgs object.
  • DropDownClosed: Occurs when the drop down area gets closed. The event handler receives two arguments:

    • The sender argument contains the button. This argument is of type object, but can be cast to the RadSplitButton type.
    • A System.Windows.RoutedEventArgs object.
  • DropDownOpened: Occurs when the drop down area gets opened. The event handler receives two arguments:

    • The sender argument contains the button. This argument is of type object, but can be cast to the RadSplitButton type.
    • A System.Windows.RoutedEventArgs object.
  • DropDownOpening: Occurs before the drop down area gets opened. The event handler receives two arguments:

    • The sender argument contains the button. This argument is of type object, but can be cast to the RadSplitButton type.
    • A System.Windows.RoutedEventArgs object.

RadToggleButton and RadToggleSwitchButton

  • Checked: Occurs when the button gets checked. The event handler receives two arguments:

    • The sender argument contains the button. This argument is of type object, but can be cast to the RadToggleButton type.
    • A System.Windows.RoutedEventArgs object.
  • Indeterminate: Occurs when the button goes in the Indeterminate state (if the button is in the three state mode). The event handler receives two arguments:

    • The sender argument contains the button. This argument is of type object, but can be cast to the RadToggleButton type.
    • A System.Windows.RoutedEventArgs object.
  • Unchecked: Occurs when the button gets unchecked. The event handler receives two arguments:

    • The sender argument contains the button. This argument is of type object, but can be cast to the RadToggleButton type.
    • A System.Windows.RoutedEventArgs object.

See Also

In this article