[]
Represents a button element.
public class ButtonPreviewElement : BasePreviewElement
| Name | Description |
|---|---|
| ButtonPreviewElement(C1RibbonPreview, RibbonIconItem, RibbonPreviewAction, bool) | Initializes a new instance of a ButtonPreviewElement. |
| 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. |
| 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. |