[]
        
(Showing Draft Content)

C1.Win.RibbonPreview.ButtonPreviewElement

ButtonPreviewElement Class

Represents a button element.

Inheritance
ButtonPreviewElement
Namespace: C1.Win.RibbonPreview
Assembly: C1.Win.RibbonPreview.8.dll
Syntax
public class ButtonPreviewElement : BasePreviewElement

Constructors

Name Description
ButtonPreviewElement(C1RibbonPreview, RibbonIconItem, RibbonPreviewAction, bool)

Initializes a new instance of a ButtonPreviewElement.

Properties

Name Description
CompactLayout

Gets or sets whether the button should display text below the image in one row.

IconSet

Gets the icon set used to display item with different sizes.

KeyTip

Gets or sets the KeyTip text.

LargeImage

Gets or sets the button large image.

ShowInQat

Gets or sets whether the button is added to Ribbon QAT.

SmallImage

Gets or sets the button small image.

Text

Gets or sets the button text.

Methods

Name Description
ResetCompactLayout()

Resets the CompactLayout property to its default value.

ResetIconSet()

Resets the IconSet property to its default value.

ResetKeyTip()

Resets the KeyTip property to its default value.

ResetShowInQat()

Resets the ShowInQat property to its default value.

ResetText()

Resets the Text property to its default value.

ShouldSerializeCompactLayout()

Indicates whether the CompactLayout property should be serialized.

ShouldSerializeIconSet()

Indicates whether the IconSet property should be serialized.

ShouldSerializeKeyTip()

Indicates whether the KeyTip property should be serialized.

ShouldSerializeShowInQat()

Indicates whether the ShowInQat property should be serialized.

ShouldSerializeText()

Indicates whether the Text property should be serialized.