Gets or sets value indicating whether the RibbonButton changes its display mode when the related ribbon group is scaled by resizing the application. The default value is true.

Introduced: X16.

Syntax

public bool IsScalable { get; set; }
Public Property IsScalable() As Boolean

Examples

The following example sets the value of the IsScalable property to false in order to prevent a resizing.

TXTextControl.Windows.Forms.Ribbon.RibbonButton ribbonButton =
new TXTextControl.Windows.Forms.Ribbon.RibbonButton();

    ribbonButton.Description = "My RibbonButton";
    ribbonButton.DisplayMode =       
    TXTextControl.Windows.Forms.Ribbon.IconTextRelation.LargeIconLabeled;
    ribbonButton.IsAddToQuickAccessToolbarEnabled = true;
    ribbonButton.IsScalable  = false;
Dim ribbonButton As TXTextControl.Windows.Forms.Ribbon.RibbonButton = 
New TXTextControl.Windows.Forms.Ribbon.RibbonButton()

    ribbonButton.Description = "My RibbonButton"
    ribbonButton.DisplayMode =   
    TXTextControl.Windows.Forms.Ribbon.IconTextRelation.LargeIconLabeled
    ribbonButton.IsAddToQuickAccessToolbarEnabled = true
    ribbonButton.IsScalable  = false