[]
        
(Showing Draft Content)

C1.Win.Ribbon.RibbonItem

RibbonItem Class

Serves as a base class for all Ribbon components such as RibbonButton, RibbonComboBox, and so on.

Implements
Namespace: C1.Win.Ribbon
Assembly: C1.Win.Ribbon.4.8.dll
Syntax
public abstract class RibbonItem : Component, IComponent, IDisposable

Properties

Name Description
Description

Gets or sets the description for this RibbonItem.

Enabled

Gets or sets whether this RibbonItem is enabled.

Group

Gets the RibbonGroup that this RibbonItem belongs to.

IsDisposed

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

Name

Gets or sets the unique name for this RibbonItem.

OwnerCollection

Gets the owner collection for this RibbonItem.

OwnerControl

Gets the C1Ribbon or C1StatusBar that this RibbonItem belongs to.

Parent

Gets the object (RibbonItem or RibbonGroup) that this RibbonItem belongs to.

Ribbon

Gets the C1Ribbon that this RibbonItem belongs to.

ShowInSimplified

Gets or sets a value indicating whether this RibbonItem can be shown in a simplified view.

Site

Gets or sets the ISite of the RibbonItem.

StatusBar

Gets the C1StatusBar that this RibbonItem belongs to.

SupportedGroupSizing

Imposes a restriction on sizing the item when it appears on a RibbonGroup.

Tab

Gets the RibbonTab that this RibbonItem belongs to.

Tag

User-defined data associated with the RibbonItem.

ToolTip

Gets or sets the ToolTip string.

Visible

Gets or sets whether this RibbonItem is visible.

Methods

Name Description
ClearCollectionsOnDesignSurface(IRibbonClientDesigner)
Dispose(bool)

Clean up any resources being used.

Equals(object)

Determines whether the specified RibbonItem is equal to the current RibbonItem.

GetHashCode()

Serves as a hash function for a particular type.

OnMouseEnter(EventArgs)

Raises the MouseEnter event.

OnMouseLeave(EventArgs)

Raises the MouseLeave event.

ResetToolTip()

Restores the default value of the ToolTip property.

ShouldSerializeID()
ShouldSerializeName()
ShouldSerializeToolTip()

Specifies whether to save the value of the ToolTip property.

Events

Name Description
MouseEnter

Occurs when the mouse enters the item.

MouseLeave

Occurs when the mouse leaves the item.

Operators

Name Description
operator ==(RibbonItem, RibbonItem)

Determines whether the specified RibbonItem instances are considered equal.

operator !=(RibbonItem, RibbonItem)

Determines whether the specified RibbonItem instances are considered not equal.