New to Telerik UI for WinUI? Download free 30-day trial

Events

The Buttons expose a set of events that are raised on different occasions.

  • Click—Fires when the button is clicked. This event is exposed by all buttons from the suite.

    Click event handler

        private void RadButton_Click(object sender, RoutedEventArgs e) 
        { 
        } 
    
  • Checked—Fires when a toggle-based button is checked. This event is exposed by RadToggleButton, RadRadionButton and RadSplitButton.

    Checked event handler

        private void RadToggleButton_Checked(object sender, RoutedEventArgs e) 
        { 
        } 
    
  • Unchecked—Fires when a toggle-based button is unchecked. This event is exposed by RadToggleButton, RadRadionButton and RadSplitButton.

    Unchecked event handler

        private void RadToggleButton_Unchecked(object sender, RoutedEventArgs e) 
        { 
        } 
    
  • Indeterminate—Fires when a toggle-based button goes in indeterminate state. This event is exposed by RadToggleButton and RadRadionButton.

    Indeterminate event handler

        private void RadToggleButton_Indeterminate(object sender, RoutedEventArgs e) 
        { 
        } 
    
  • DropDownOpening—Fires when the drop down content of a drop-down-based button is about to open. This event is exposed by RadDropDownButton and RadSplitButton.

    DropDownOpening event handler

        private void RadToggleButton_DropDownOpening(object sender, RoutedEventArgs e) 
        { 
        } 
    
  • DropDownOpened—Fires when the drop down content of a drop-down-based button gets opened. This event is exposed by RadDropDownButton and RadSplitButton.

    DropDownOpened event handler

        private void RadToggleButton_DropDownOpened(object sender, RoutedEventArgs e) 
        { 
        } 
    
  • DropDownClosed—Fires when the drop down content of a drop-down-based button gets closed. This event is exposed by RadDropDownButton and RadSplitButton.

    DropDownClosed event handler

        private void RadToggleButton_DropDownClosed(object sender, RoutedEventArgs e) 
        { 
        } 
    

    See Also

  • Getting Started
  • Commands
In this article
Not finding the help you need?