[]
        
(Showing Draft Content)

C1.Win.Ribbon.RibbonSplitButton

RibbonSplitButton Class

Element that combines a regular button and a drop-down.

Implements
ISupportUiaContainer
IUiaSplitButton
IUiaInvokeProvider
IUiaExpandCollapseProvider
IUiaScrollItemProvider
Namespace: C1.Win.Ribbon
Assembly: C1.Win.Ribbon.4.8.dll
Syntax
public class RibbonSplitButton : RibbonDropDownBase, IComponent, IDisposable, ISupportUiaContainer, IUiaSplitButton, IUiaInvokeProvider, IUiaExpandCollapseProvider, IUiaScrollItemProvider

Constructors

Name Description
RibbonSplitButton()

Creates a new instance of RibbonSplitButton.

RibbonSplitButton(string)

Creates a new instance of RibbonSplitButton.

RibbonSplitButton(string, Image)

Creates a new instance of RibbonSplitButton.

RibbonSplitButton(string, Image, Image)

Creates a new instance of RibbonSplitButton.

Properties

Name Description
ButtonEnabled

Gets or sets a value indicating whether the button portion of the split button is enabled or disabled. It doesn't affect the state of the drop-down.

CanBeAddedToQat

Gets or sets whether the user can add this RibbonItem to the Quick Access Toolbar at runtime.

DropDownAlign

Gets or sets the alignment of the drop-down portion relative to this component.

GripHandleVisible

Gets or sets a value indicating whether the drop-down can be resized.

KeyTip

Gets or sets the KeyTip providing keyboard access to a RibbonSplitButton.

LargeItemDropDownWidth

Gets or sets the width of a drop-down menu with large items if the value is greater than 100.

MaxDropDownItems

Gets or sets the maximum number of items to display in the drop-down list.

PreferredItemSize

Gets or sets a value specifies the size of the drop down items.

Pressed

Gets or sets a value that indicates whether the split button is pressed (toggled).

PressedIconSet

Gets the icon set for the Pressed state.

ShortcutKeys

Gets or sets the shortcut keys associated with the split button.

ShowInMore

Gets or sets a value indicating if this RibbonItem can be shown in drop down part of the More button when ribbon is simplified.

Text

Gets or sets the label used to identify this RibbonSplitButton.

ToggleOnClick

Gets or sets a value indicating whether the split button should remain in pressed state after clicking on it.

Methods

Name Description
Dispose(bool)

Clean up any resources being used.

ExtendedUiaItems(UiaItem)

Gets extended items from inherited controls.

OnClick(EventArgs)

Raises the Click event.

OnPressedChanged(EventArgs)

Raises the PressedChanged event.

ResetText()

Restores the default value of the Text property.

ShouldSerializeText()

Specifies whether to save the value of the Text property.

Events

Name Description
Click

Occurs when the button is clicked.

PressedChanged

Occurs whenever the Pressed property is changed.