Class BinaryRibbonButton
A customized control class that acts as a button control.
Implements
Namespace: Binarymission.WPF.Controls.Office
Assembly: Binarymission.WPF.Controls.BinaryRibbon.dll
Syntax
public class BinaryRibbonButton : Button, IBinaryRibbonContentElementBoundsConfigurable, IBinaryRibbonContentElement, IBinaryRibbonComponent, IBinaryRibbonKeyTipControl
Constructors
BinaryRibbonButton()
Declaration
public BinaryRibbonButton()
Properties
BinaryRibbonTag
Gets or sets a generic tag.
Declaration
public object BinaryRibbonTag { get; set; }
CornerRadius
Gets or sets the corner radius.
Declaration
public CornerRadius CornerRadius { get; set; }
LargeImage
Gets or sets the large image associated with this instance of control.
Declaration
public ImageSource LargeImage { get; set; }
SmallImage
Gets or sets the small image associated with this instance of control.
Declaration
public ImageSource SmallImage { get; set; }
Methods
GetImageStretch(DependencyObject)
Gets the image stretch.
Declaration
public static Stretch GetImageStretch(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
DependencyObject | obj | The obj. |
Returns
Type | Description |
---|---|
Stretch |
SetImageStretch(DependencyObject, Stretch)
Sets the image stretch.
Declaration
public static void SetImageStretch(DependencyObject obj, Stretch value)
Parameters
Type | Name | Description |
---|---|---|
DependencyObject | obj | The obj. |
Stretch | value | The value. |
Explicit Interface Implementations
IBinaryRibbonContentElement.get_Content()
Declaration
object IBinaryRibbonContentElement.get_Content()
Returns
Type | Description |
---|---|
Object |
IBinaryRibbonContentElement.set_Content(Object)
Declaration
void IBinaryRibbonContentElement.set_Content(object value)
Parameters
Type | Name | Description |
---|---|---|
Object | value |
IBinaryRibbonKeyTipControl.PerformKeyTipExecute()
Performs custom logic for the method PerformKeyTipExecute().
Declaration
void IBinaryRibbonKeyTipControl.PerformKeyTipExecute()