HypernovaDesktop Components · docs
Binarymission
WPFRibbon › BinaryRibbonButtonGroup

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

CornerRadiusGets or sets the corner radius.
GetContainerForItemOverrideCreates the container that one item is shown in, which for this control is a BinaryRibbonButton.
OnItemsChangedRaises the ItemsChanged event. BinaryRibbonButtonGroup overrides it so the control's own handling runs alongside the base behavior.
PrepareContainerForItemOverrideApplies this control's own settings to a container before the item it holds is shown.
CornerRadiusPropertyCornerRadiusProperty 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.