ClassRadRibbonToggleButton
A ToggleButton control for usage in the RadRibbonView.
Definition
Namespace:Telerik.UI.Xaml.Controls
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class RadRibbonToggleButton : ToggleButton, IRibbonButton, IVariantControl
Inheritance: objectRadRibbonToggleButton
Implements:
Constructors
RadRibbonToggleButton()
Initializes a new instance of the RadRibbonToggleButton class.
Declaration
public RadRibbonToggleButton()
Fields
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
IsAutoSizeProperty
Identifies the IsAutoSize property.
Declaration
public static readonly DependencyProperty IsAutoSizeProperty
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
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
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
IsAutoSize
Get/Set the permission to resize the Image according to the RibbonView guidance. This is a dependency property.
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
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()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
OnGotFocus(RoutedEventArgs)
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
OnLostFocus(RoutedEventArgs)
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
OnPointerEntered(PointerRoutedEventArgs)
Declaration
protected override void OnPointerEntered(PointerRoutedEventArgs e)
Parameters
e
PointerRoutedEventArgs
OnPointerExited(PointerRoutedEventArgs)
Declaration
protected override void OnPointerExited(PointerRoutedEventArgs e)
Parameters
e
PointerRoutedEventArgs
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