ComponentOne Menus and Toolbars for WinForms
C1.Win.C1Command.4.8 Assembly / C1.Win.C1Command Namespace / C1CommandDock Class / CentralTabMinimumSize Property
Example

In This Topic
    CentralTabMinimumSize Property (C1CommandDock)
    In This Topic
    Gets or sets a value that determines how the central tab width is calculated when there are two pages of tabs docked on the left and right.
    Syntax
    'Declaration
     
    Public Property CentralTabMinimumSize As CentralTabMinimumSize
    public CentralTabMinimumSize CentralTabMinimumSize {get; set;}
    Remarks
    This property will be respected when the page is docked and ignored when the page or the entire control is resized.
    Example
    The code below sets the minimum width of the central tab to 100 pixels to ensure that the central tab is visible after two pages of tabs docked on the left and right: The code below sets the minimum width of the central tab to 50 percent of the parent container to ensure that the central tab is visible after two pages of tabs docked on the left and right:
    c1CommandDock1.CentralTabMinimumSize.WidthType = WidthType.Absolute;
    c1CommandDock1.CentralTabMinimumSize.Width = 100;
    c1CommandDock1.CentralTabMinimumSize.WidthType = WidthType.Percent;
    c1CommandDock1.CentralTabMinimumSize.Width = 50;
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also