[]
        
(Showing Draft Content)

C1.Win.Ribbon.RibbonTab

RibbonTab Class

Represents a Ribbon tab.

Implements
ISupportUiaContainer
IUiaSelectionItemProvider
Namespace: C1.Win.Ribbon
Assembly: C1.Win.Ribbon.4.8.dll
Syntax
public class RibbonTab : Component, IComponent, IDisposable, ISupportUiaContainer, IUiaSelectionItemProvider

Constructors

Name Description
RibbonTab()

Creates a new instance of RibbonTab.

RibbonTab(string)

Creates a new instance of RibbonTab.

Properties

Name Description
Clickable

Gets or set whether it is allowed to click this tab.

Enabled

Gets or set whether the contents of this tab are enabled.

Groups

Gets the collection of item groups on this tab.

IconSet

Gets the icon set.

Image

Gets or sets the small image (16 x 16) that appears on the tab.

IsDisposed

Gets a value indicating whether the RibbonTab has been disposed of.

KeyTip

Gets or sets the KeyTip providing keyboard access to a ribbon tab.

Name

Gets or sets the unique name for this RibbonTab.

Owner

Gets the owner of this tab.

OwnerCollection

Gets the owner collection for this RibbonTab.

Ribbon

Gets the C1Ribbon that this RibbonTab belongs to.

Selected

Gets or sets whether this tab is currently selected. Only one tab can be selected at any time.

Tag

User-defined data associated with the RibbonTab.

Text

Gets or sets the text for this tab.

ToolTip

Gets or sets the ToolTip string.

Visible

Gets or sets whether this tab is visible.

Methods

Name Description
Dispose(bool)

Clean up any resources being used.

OnDeselect(EventArgs)

Raises the Deselect event.

OnDoubleClick(EventArgs)

Raises the DoubleClick event.

OnMouseEnter(EventArgs)

Raises the MouseEnter event.

OnMouseLeave(EventArgs)

Raises the MouseLeave event.

OnSelect(EventArgs)

Raises the Select event.

ResetText()

Restores the default value of the Text property.

ShouldSerializeGroups()
ShouldSerializeID()
ShouldSerializeName()
ShouldSerializeText()

Specifies whether to save the value of the Text property.

Events

Name Description
Deselect

Occurs after a Ribbon tab is deselected.

DoubleClick

Occurs when a Ribbon tab is double clicked.

MouseEnter

Occurs when the mouse enters the tab header.

MouseLeave

Occurs when the mouse leaves the tab header.

Select

Occurs after a Ribbon tab is selected.