Class
RadSplitButton

A SplitButton control.

Definition

Namespace:Telerik.UI.Xaml.Controls

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class RadSplitButton : RadDropDownButton, ICommandSource, IDisposable

Inheritance: objectRadButtonRadDropDownButtonRadSplitButton

Implements: ICommandSourceIDisposable

Inherited Members RadDropDownButton.DropDownIndicatorVisibilityPropertyRadDropDownButton.AutoOpenDelayPropertyRadDropDownButton.CloseOnEscapePropertyRadDropDownButton.CloseOnEnterPropertyRadDropDownButton.DropDownContentPropertyRadDropDownButton.DropDownWidthPropertyRadDropDownButton.DropDownHeightPropertyRadDropDownButton.DropDownMinWidthPropertyRadDropDownButton.DropDownMinHeightPropertyRadDropDownButton.DropDownMaxWidthPropertyRadDropDownButton.DropDownMaxHeightPropertyRadDropDownButton.IsOpenPropertyRadDropDownButton.KeepOpenPropertyRadDropDownButton.DropDownButtonPositionPropertyRadDropDownButton.DropDownPlacementPropertyRadDropDownButton.PopupPlacementTargetPropertyRadDropDownButton.DropDownContentTemplatePropertyRadDropDownButton.DropDownContentTemplateSelectorPropertyRadDropDownButton.DropDownClosedEventRadDropDownButton.DropDownOpenedEventRadDropDownButton.DropDownOpeningEventRadDropDownButton.CloseOnPopupMouseLeftButtonUpPropertyRadDropDownButton.Finalize()RadDropDownButton.Dispose()RadDropDownButton.OnPointerEntered(PointerRoutedEventArgs)RadDropDownButton.OnPointerExited(PointerRoutedEventArgs)RadDropDownButton.OnPointerMoved(PointerRoutedEventArgs)RadDropDownButton.OnPointerPressed(PointerRoutedEventArgs)RadDropDownButton.ApplyDropDownButtonPosition()RadDropDownButton.ApplyPopupPlacement()RadDropDownButton.OnDropDownContentChanged(object, object)RadDropDownButton.OnDropDownPlacementChanged(DataTemplate, DataTemplate)RadDropDownButton.OnDropDownContentTemplateChanged(DataTemplate, DataTemplate)RadDropDownButton.OnDropDownContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector)RadDropDownButton.OnIsOpenChanged(bool, bool)RadDropDownButton.HandleKeyDown(object, KeyRoutedEventArgs)RadDropDownButton.OnHoverTimerTick(object, object)RadDropDownButton.HoverTimerApplyState(bool)RadDropDownButton.HoverTimerDestroy()RadDropDownButton.HoverTimerStart()RadDropDownButton.HoverTimerStop()RadDropDownButton.HoverTimerRestart()RadDropDownButton.IsOpenRadDropDownButton.KeepOpenRadDropDownButton.DropDownIndicatorVisibilityRadDropDownButton.AutoOpenDelayRadDropDownButton.CloseOnEscapeRadDropDownButton.CloseOnEnterRadDropDownButton.DropDownContentRadDropDownButton.DropDownButtonPositionRadDropDownButton.DropDownPlacementRadDropDownButton.DropDownContentTemplateRadDropDownButton.DropDownContentTemplateSelectorRadDropDownButton.DropDownWidthRadDropDownButton.DropDownHeightRadDropDownButton.DropDownMinWidthRadDropDownButton.DropDownMinHeightRadDropDownButton.DropDownMaxWidthRadDropDownButton.DropDownMaxHeightRadDropDownButton.CloseOnPopupMouseLeftButtonUpRadDropDownButton.PopupPlacementTargetRadDropDownButton.DropDownClosedRadDropDownButton.DropDownOpenedRadDropDownButton.DropDownOpeningRadButton.CommandParameterPropertyRadButton.CommandPropertyRadButton.CommandTargetPropertyRadButton.ExecuteCommand()RadButton.CommandRadButton.CommandParameterRadButton.CommandTarget

Constructors

RadSplitButton()

Initializes a new instance of the RadSplitButton class.

Declaration

cs-api-definition
public RadSplitButton()

Fields

ButtonPartStyleProperty

Identifies the ButtonPartStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ButtonPartStyleProperty

Field Value

DependencyProperty

CheckedEvent

Occurs when the Button part become checked.

Declaration

cs-api-definition
public static readonly RoutedEvent CheckedEvent

Field Value

RoutedEvent

ClickEvent

Occurs when the action button is clicked.

Declaration

cs-api-definition
public static readonly RoutedEvent ClickEvent

Field Value

RoutedEvent

DropDownPartStyleProperty

Identifies the DropDownPartStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DropDownPartStyleProperty

Field Value

DependencyProperty

IsButtonPartVisibleProperty

Identifies the IsButtonPartVisible property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsButtonPartVisibleProperty

Field Value

DependencyProperty

IsCheckedProperty

Identifies the IsChecked property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsCheckedProperty

Field Value

DependencyProperty

IsToggleProperty

Identifies the IsToggle property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsToggleProperty

Field Value

DependencyProperty

UncheckedEvent

Occurs when the Button part become unchecked.

Declaration

cs-api-definition
public static readonly RoutedEvent UncheckedEvent

Field Value

RoutedEvent

Properties

ButtonPartStyle

Gets or sets the style for the button part used by the SplitButton.

Declaration

cs-api-definition
public Style ButtonPartStyle { get; set; }

Property Value

Style

DropDownPartStyle

Gets or sets the style for the drop-down part used by the SplitButton.

Declaration

cs-api-definition
public Style DropDownPartStyle { get; set; }

Property Value

Style

IsButtonPartVisible

Gets or sets whether the button part is visible.

Declaration

cs-api-definition
public bool IsButtonPartVisible { get; set; }

Property Value

bool

IsChecked

Simulates the IsChecked of the ButtonPart which is a RadToggleButton. This is a dependency property.

Declaration

cs-api-definition
public bool IsChecked { get; set; }

Property Value

bool

IsToggle

Gets or sets whether the popup supports toggle mode. This is a dependency property.

Declaration

cs-api-definition
public bool IsToggle { get; set; }

Property Value

bool

Methods

OnApplyTemplate()

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call .

Declaration

cs-api-definition
protected override void OnApplyTemplate()

Overrides RadDropDownButton.OnApplyTemplate()

OnChecked()

Called when IsChecked property is initialised to true. Raises the Checked events.

Declaration

cs-api-definition
protected virtual void OnChecked()

OnClick()

Toggle the IsOpen property and execute the associated Command.

Declaration

cs-api-definition
protected virtual void OnClick()

OnCreateAutomationPeer()

Creates a RadSplitButtonAutomationPeer.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides RadDropDownButton.OnCreateAutomationPeer()

OnIsButtonPartVisibleChanged(bool, bool)

Declaration

cs-api-definition
protected virtual void OnIsButtonPartVisibleChanged(bool oldValue, bool newValue)

Parameters

oldValue

bool

newValue

bool

OnToggle()

Toggle the IsChecked property and raise the Checked/Unchecked events.

Declaration

cs-api-definition
protected virtual void OnToggle()

OnUnchecked()

Called when IsChecked property is initialised to false. Raises the Unchecked events.

Declaration

cs-api-definition
protected virtual void OnUnchecked()

Events

Checked

Occurs when the action button is checked.

Declaration

cs-api-definition
public event RoutedEventHandler Checked

Event Value

RoutedEventHandler

Click

Occurs when the action button is clicked.

Declaration

cs-api-definition
public event RoutedEventHandler Click

Event Value

RoutedEventHandler

Unchecked

Occurs when the action button is unchecked.

Declaration

cs-api-definition
public event RoutedEventHandler Unchecked

Event Value

RoutedEventHandler