BinaryRibbonSeparator
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Office
A thin vertical rule between commands in a ribbon group, in the colours of the ribbon's skin.
public class BinaryRibbonSeparator : Separator, IBinaryRibbonComponent
Inherits from / implements: Separator, IBinaryRibbonComponent
Remarks
Put it between two sets of commands in a BinaryRibbonGroup to show they belong
apart – the alignment buttons and the indent buttons of a Paragraph group, say. The rule is the
height of the classic ribbon's three rows (60 units), and one row (20 units) in the simplified
layout. It is hidden when its group folds into a drop-down.
Examples
<ribbon:BinaryRibbonGroup TitleText="Records"
xmlns:ribbon="clr-namespace:Binarymission.WPF.Controls.Office;assembly=Binarymission.WPF.Controls.BinaryRibbon">
<ribbon:BinaryRibbonButton Content="New customer" LargeImage="Images/AddCustomer32.png" />
<ribbon:BinaryRibbonButton Content="Import" LargeImage="Images/Import32.png" />
<ribbon:BinaryRibbonSeparator />
<ribbon:BinaryRibbonButton Content="Delete" LargeImage="Images/Delete32.png" />
</ribbon:BinaryRibbonGroup>See also
Members at a glance
| Properties | |
|---|---|
BinaryRibbonTag | Gets or sets any object of your own to keep with the separator. |
Properties
BinaryRibbonTag
public object BinaryRibbonTag
Gets or sets any object of your own to keep with the separator.
- Value
- Any object. The default is
null.
Remarks
The ribbon never reads it. It is a plain property, not a dependency property; use
FrameworkElement.Tag where a binding or style setter is needed.