BinaryRibbonToggleButtonControl
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Office
A custom toggle button control providing ehnaced user experience to emulate the ones seen in MS Office Ribbon application.
public class BinaryRibbonToggleButtonControl : ToggleButton, IBinaryRibbonContentElementBoundsConfigurable, IBinaryRibbonKeyTipControl
Inherits from / implements: ToggleButton, IBinaryRibbonContentElementBoundsConfigurable, IBinaryRibbonKeyTipControl
Members at a glance
BinaryRibbonTag | Gets or sets a generic tag. |
CornerRadius | Gets or sets the corner radius. |
IsFlat | Gets or sets a value indicating whether this instance has flat appearance. |
LargeImage | Gets or sets the large image. |
SmallImage | Gets or sets the small image. |
CornerRadiusProperty | CornerRadiusProperty property. |
IsFlatProperty | IsFlatProperty property. |
LargeImageProperty | LargeImageProperty property. |
SmallImageProperty | SmallImageProperty property. |
Properties
BinaryRibbonTag
public object BinaryRibbonTag
Gets or sets a generic tag.
Value. The binary ribbon tag.
CornerRadius
public CornerRadius CornerRadius
Gets or sets the corner radius.
Value. The corner radius.
IsFlat
public bool IsFlat
Gets or sets a value indicating whether this instance has flat appearance.
Value. true if this instance is flat; otherwise, false .
LargeImage
public ImageSource LargeImage
Gets or sets the large image.
Value. The large image.
SmallImage
public ImageSource SmallImage
Gets or sets the small image.
Value. The small image.
Fields
CornerRadiusProperty
public static readonly DependencyProperty CornerRadiusProperty
CornerRadiusProperty property.
IsFlatProperty
public static readonly DependencyProperty IsFlatProperty
IsFlatProperty property.
LargeImageProperty
public static readonly DependencyProperty LargeImageProperty
LargeImageProperty property.
SmallImageProperty
public static readonly DependencyProperty SmallImageProperty
SmallImageProperty property.