HypernovaDesktop Components · docs
Binarymission
WPFRibbon › BinaryRibbonControlContextualTabSet

BinaryRibbonControlContextualTabSet

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Office

A custom control class that acts as the contextual tab set.

public class BinaryRibbonControlContextualTabSet : Control, IBinaryRibbonComponent, IBinaryRibbonKeyTipControl

Inherits from / implements: Control, IBinaryRibbonComponent, IBinaryRibbonKeyTipControl

Members at a glance

BackgroundColorGets or sets the color of the background.
BinaryRibbonTagGets or sets a generic tag.
IsCurrentlySelectedGets or sets a value indicating whether this instance is currently selected.
RibbonBarPanelGets or sets the BinaryRibbonBarPanel instance associated with this instance of contextual tab set.
TabItemsGets the tab items that are associated with this instance of contextual tab set.
TitleTextGets or sets the title text of this contextual tab set.
OnTabItemCollectionChangedCalled when the tab item collection changes, which is where this control brings its layout back in step with its contents.
BackgroundColorPropertyBackgroundColorProperty property.
TitleTextPropertyTitleTextProperty property.

Properties

BackgroundColor

public Color BackgroundColor

Gets or sets the color of the background.

Value. The color of the background.

BinaryRibbonTag

public object BinaryRibbonTag

Gets or sets a generic tag.

Value. The binary ribbon tag.

IsCurrentlySelected

public bool IsCurrentlySelected

Gets or sets a value indicating whether this instance is currently selected.

Value. true if this instance is currently selected; otherwise, false .

RibbonBarPanel

public BinaryRibbonBarPanel RibbonBarPanel

Gets or sets the BinaryRibbonBarPanel instance associated with this instance of contextual tab set.

TabItems

public Collection<BinaryRibbonTabItem> TabItems

Gets the tab items that are associated with this instance of contextual tab set.

TitleText

public string TitleText

Gets or sets the title text of this contextual tab set.

Value. The title text.

Methods

OnTabItemCollectionChanged

protected virtual void OnTabItemCollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)

Called when the tab item collection changes, which is where this control brings its layout back in step with its contents.

sender
The collection that changed.
e
What was added, removed or moved.

Fields

BackgroundColorProperty

public static readonly DependencyProperty BackgroundColorProperty

BackgroundColorProperty property.

TitleTextProperty

public static readonly DependencyProperty TitleTextProperty

TitleTextProperty property.