ClassRadSplitButton
A SplitButton control.
Definition
Namespace:Telerik.UI.Xaml.Controls
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class RadSplitButton : RadDropDownButton, ICommandSource, IDisposable
Inheritance: objectRadButtonRadDropDownButtonRadSplitButton
Implements:
Inherited Members
Constructors
RadSplitButton()
Initializes a new instance of the RadSplitButton class.
Declaration
public RadSplitButton()
Fields
ButtonPartStyleProperty
Identifies the ButtonPartStyle dependency property.
Declaration
public static readonly DependencyProperty ButtonPartStyleProperty
Field Value
DependencyProperty
CheckedEvent
Occurs when the Button part become checked.
Declaration
public static readonly RoutedEvent CheckedEvent
Field Value
ClickEvent
Occurs when the action button is clicked.
DropDownPartStyleProperty
Identifies the DropDownPartStyle dependency property.
Declaration
public static readonly DependencyProperty DropDownPartStyleProperty
Field Value
DependencyProperty
IsButtonPartVisibleProperty
Identifies the IsButtonPartVisible property.
Declaration
public static readonly DependencyProperty IsButtonPartVisibleProperty
Field Value
DependencyProperty
IsCheckedProperty
Identifies the IsChecked property.
Declaration
public static readonly DependencyProperty IsCheckedProperty
Field Value
DependencyProperty
IsToggleProperty
Identifies the IsToggle property.
Declaration
public static readonly DependencyProperty IsToggleProperty
Field Value
DependencyProperty
UncheckedEvent
Occurs when the Button part become unchecked.
Declaration
public static readonly RoutedEvent UncheckedEvent
Field Value
Properties
ButtonPartStyle
Gets or sets the style for the button part used by the SplitButton.
Declaration
public Style ButtonPartStyle { get; set; }
Property Value
Style
DropDownPartStyle
Gets or sets the style for the drop-down part used by the SplitButton.
Declaration
public Style DropDownPartStyle { get; set; }
Property Value
Style
IsButtonPartVisible
Gets or sets whether the button part is visible.
IsChecked
Simulates the IsChecked of the ButtonPart which is a RadToggleButton. This is a dependency property.
Methods
OnApplyTemplate()
Invoked whenever application code or internal processes (such as a rebuilding layout pass) call .
Declaration
protected override void OnApplyTemplate()
Overrides
OnChecked()
Called when IsChecked property is initialised to true. Raises the Checked events.
Declaration
protected virtual void OnChecked()
OnClick()
Toggle the IsOpen property and execute the associated Command.
Declaration
protected virtual void OnClick()
OnCreateAutomationPeer()
Creates a RadSplitButtonAutomationPeer.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
Overrides
OnToggle()
Toggle the IsChecked property and raise the Checked/Unchecked events.
Declaration
protected virtual void OnToggle()
OnUnchecked()
Called when IsChecked property is initialised to false. Raises the Unchecked events.
Declaration
protected virtual void OnUnchecked()
Events
Checked
Occurs when the action button is checked.
Declaration
public event RoutedEventHandler Checked
Event Value
RoutedEventHandler
Click
Occurs when the action button is clicked.
Declaration
public event RoutedEventHandler Click
Event Value
RoutedEventHandler
Unchecked
Occurs when the action button is unchecked.
Declaration
public event RoutedEventHandler Unchecked
Event Value
RoutedEventHandler