HypernovaDesktop Components · docs
Binarymission
WPFRibbon › BinaryRibbonButton

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

BinaryRibbonTagGets or sets a generic tag.
CornerRadiusGets or sets the corner radius.
LargeImageGets or sets the large image associated with this instance of control.
SmallImageGets or sets the small image associated with this instance of control.
GetImageStretchGets the image stretch.
SetImageStretchSets the image stretch.
CornerRadiusPropertyCornerRadiusProperty property.
ImageStretchPropertyImageStretchProperty attached property.
LargeImagePropertyLargeImageProperty property.
SmallImagePropertySmallImageProperty 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.