BinaryRibbonButton
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Office
A customized control class that acts as a button control.
public class BinaryRibbonButton : Button, IBinaryRibbonContentElementBoundsConfigurable, IBinaryRibbonKeyTipControl
Inherits from / implements: Button, IBinaryRibbonContentElementBoundsConfigurable, IBinaryRibbonKeyTipControl
Members at a glance
BinaryRibbonTag | Gets or sets a generic tag. |
CornerRadius | Gets or sets the corner radius. |
LargeImage | Gets or sets the large image associated with this instance of control. |
SmallImage | Gets or sets the small image associated with this instance of control. |
GetImageStretch | Gets the image stretch. |
SetImageStretch | Sets the image stretch. |
CornerRadiusProperty | CornerRadiusProperty property. |
ImageStretchProperty | ImageStretchProperty attached 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.
LargeImage
public ImageSource LargeImage
Gets or sets the large image associated with this instance of control.
Value. The large image.
SmallImage
public ImageSource SmallImage
Gets or sets the small image associated with this instance of control.
Value. The small image.
Methods
GetImageStretch
public static Stretch GetImageStretch(DependencyObject obj)
Gets the image stretch.
- obj
- The obj.
SetImageStretch
public static void SetImageStretch(DependencyObject obj, Stretch value)
Sets the image stretch.
- obj
- The obj.
- value
- The value.
Fields
CornerRadiusProperty
public static readonly DependencyProperty CornerRadiusProperty
CornerRadiusProperty property.
ImageStretchProperty
public static readonly DependencyProperty ImageStretchProperty
ImageStretchProperty attached property.
LargeImageProperty
public static readonly DependencyProperty LargeImageProperty
LargeImageProperty property.
SmallImageProperty
public static readonly DependencyProperty SmallImageProperty
SmallImageProperty property.