BinaryRibbonButtonGroup
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Office
A custom items control class that acts as the button group control.
public class BinaryRibbonButtonGroup : ItemsControl, IBinaryRibbonElementBoundsConfigurable, IBinaryRibbonKeyTipControl
Inherits from / implements: ItemsControl, IBinaryRibbonElementBoundsConfigurable, IBinaryRibbonKeyTipControl
Members at a glance
CornerRadius | Gets or sets the corner radius. |
GetContainerForItemOverride | Creates the container that one item is shown in, which for this control is a BinaryRibbonButton. |
OnItemsChanged | Raises the ItemsChanged event. BinaryRibbonButtonGroup overrides it so the control's own handling runs alongside the base behavior. |
PrepareContainerForItemOverride | Applies this control's own settings to a container before the item it holds is shown. |
CornerRadiusProperty | CornerRadiusProperty property. |
Properties
CornerRadius
public CornerRadius CornerRadius
Gets or sets the corner radius.
Value. The corner radius.
Methods
GetContainerForItemOverride
protected override DependencyObject GetContainerForItemOverride()
Creates the container that one item is shown in, which for this control is a BinaryRibbonButton.
OnItemsChanged
protected override void OnItemsChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
Raises the ItemsChanged event. BinaryRibbonButtonGroup overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
PrepareContainerForItemOverride
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Applies this control's own settings to a container before the item it holds is shown.
Fields
CornerRadiusProperty
public static readonly DependencyProperty CornerRadiusProperty
CornerRadiusProperty property.