ClassRadRibbonSplitButton
A Button control for usage in the RadRibbonView.
Definition
Namespace:Telerik.UI.Xaml.Controls
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class RadRibbonSplitButton : ButtonBase, IRibbonButton, IVariantControl
Inheritance: objectRadRibbonSplitButton
Implements:
Constructors
RadRibbonSplitButton()
Initializes a new instance of the RadRibbonSplitButton class.
Declaration
public RadRibbonSplitButton()
Fields
CheckedEvent
Occurs when the Button part become checked.
Declaration
public static readonly RoutedEvent CheckedEvent
Field Value
ClickEvent
Identifies the Click property.
CollapseToMediumProperty
Identifies the CollapseToMedium property.
Declaration
public static readonly DependencyProperty CollapseToMediumProperty
Field Value
DependencyProperty
CollapseToSmallProperty
Identifies the CollapseToSmall property.
Declaration
public static readonly DependencyProperty CollapseToSmallProperty
Field Value
DependencyProperty
CurrentSizeProperty
Identifies the CurrentSize property.
Declaration
public static readonly DependencyProperty CurrentSizeProperty
Field Value
DependencyProperty
DropDownIndicatorVisibilityProperty
Identifies the DropDownIndicatorVisibility property.
Declaration
public static readonly DependencyProperty DropDownIndicatorVisibilityProperty
Field Value
DependencyProperty
FlyoutProperty
Identifies the Flyout property.
Declaration
public static readonly DependencyProperty FlyoutProperty
Field Value
DependencyProperty
IsAutoSizeProperty
Identifies the IsAutoSize property.
Declaration
public static readonly DependencyProperty IsAutoSizeProperty
Field Value
DependencyProperty
IsBackgroundVisibleProperty
Identifies the IsBackgroundVisible property.
Declaration
public static readonly DependencyProperty IsBackgroundVisibleProperty
Field Value
DependencyProperty
IsCheckedProperty
Identifies the IsChecked property.
Declaration
public static readonly DependencyProperty IsCheckedProperty
Field Value
DependencyProperty
IsTextInMiddleButtonProperty
Identifies the IsTextInMiddleButton property.
Declaration
public static readonly DependencyProperty IsTextInMiddleButtonProperty
Field Value
DependencyProperty
IsToggleProperty
Identifies the IsToggle property.
Declaration
public static readonly DependencyProperty IsToggleProperty
Field Value
DependencyProperty
LargeIconProperty
Identifies the LargeIcon property.
Declaration
public static readonly DependencyProperty LargeIconProperty
Field Value
DependencyProperty
SizeProperty
Identifies the Size property.
Declaration
public static readonly DependencyProperty SizeProperty
Field Value
DependencyProperty
SmallIconProperty
Identifies the SmallIcon property.
Declaration
public static readonly DependencyProperty SmallIconProperty
Field Value
DependencyProperty
SplitTextProperty
Identifies the SplitText property.
Declaration
public static readonly DependencyProperty SplitTextProperty
Field Value
DependencyProperty
TextProperty
Identifies the Text property.
Declaration
public static readonly DependencyProperty TextProperty
Field Value
DependencyProperty
TextRow1Property
Identifies the TextRow1 property.
Declaration
public static readonly DependencyProperty TextRow1Property
Field Value
DependencyProperty
TextRow2Property
Identifies the TextRow2 property.
Declaration
public static readonly DependencyProperty TextRow2Property
Field Value
DependencyProperty
UncheckedEvent
Occurs when the Button part become unchecked.
Declaration
public static readonly RoutedEvent UncheckedEvent
Field Value
Properties
CollapseToMedium
Get/Set the guidance about button's resize to the Medium size. This is a dependency property.
Declaration
public CollapseThreshold CollapseToMedium { get; set; }
Property Value
Implements
CollapseToSmall
Get/Set the guidance about button's resize to the Small size. This is a dependency property.
Declaration
public CollapseThreshold CollapseToSmall { get; set; }
Property Value
Implements
CurrentSize
Get/Set the current State-size of the button. This is a dependency property.
Declaration
public ButtonSize CurrentSize { get; }
Property Value
Implements
DropDownIndicatorVisibility
Gets or sets a value indicating the visibility of the drop down indicator.
Declaration
public Visibility DropDownIndicatorVisibility { get; set; }
Property Value
Visibility
Flyout
Gets or sets the Flyout of this button.
Declaration
public FlyoutBase Flyout { get; set; }
Property Value
FlyoutBase
IsAutoSize
Get/Set the permission to resize the Image according to the RibbonView guidance. This is a dependency property.
IsBackgroundVisible
Sets the visual appearance of the chrome not to render in Normal mode.
Declaration
[Browsable(false)]
public bool IsBackgroundVisible { get; set; }
Property Value
IsChecked
Simulates the IsChecked of the ToggleButton.
IsTextInMiddleButton
Get/Set the placement of the text in the Middle-sized button. This is a dependency property.
IsToggle
Gets or sets whether the button supports toggle mode.
LargeIcon
Get/Set the LargeIcon that is shown in Large button state. This is a dependency property.
Declaration
public IconElement LargeIcon { get; set; }
Property Value
IconElement
Implements
Size
Get/Set the button initial size. In fact this is the max-size that the button can implement. This is a dependency property.
Declaration
public ButtonSize Size { get; set; }
Property Value
Implements
SmallIcon
Get/Set the SmallIcon that is shown in Medium and Small button state. This is a dependency property.
Declaration
public IconElement SmallIcon { get; set; }
Property Value
IconElement
Implements
SplitText
Enable/disable the Text splitting for the Large-sized button. This is a dependency property.
Text
Get/Set the Text label that is shown in Medium and Large button state. This is a dependency property.
TextRow1
Get/Set the Text label that is shown in Medium and Large button state. 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()
OnChecked()
Called when IsChecked property is initialised to true. Raises the Checked events.
Declaration
protected virtual void OnChecked()
OnClick(bool)
Toggle the IsOpen property and execute the associated Command.
Declaration
protected void OnClick(bool executeCommand = false)
Parameters
executeCommand
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
OnGotFocus(RoutedEventArgs)
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
OnKeyDown(KeyRoutedEventArgs)
Declaration
protected override void OnKeyDown(KeyRoutedEventArgs e)
Parameters
e
KeyRoutedEventArgs
OnKeyUp(KeyRoutedEventArgs)
Declaration
protected override void OnKeyUp(KeyRoutedEventArgs e)
Parameters
e
KeyRoutedEventArgs
OnLostFocus(RoutedEventArgs)
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
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()
SetVariant(RibbonGroupVariant)
Implements the interface for button resizing in order to follow the resize mechanism of the ribbon group.
Declaration
public void SetVariant(RibbonGroupVariant variant)
Parameters
variant
Implements
Events
Checked
Occurs when the action button is checked.
Declaration
public event RoutedEventHandler Checked
Event Value
RoutedEventHandler
Unchecked
Occurs when the action button is unchecked.
Declaration
public event RoutedEventHandler Unchecked
Event Value
RoutedEventHandler