Docking Tab for WinForms | ComponentOne
C1.Win.Command Namespace / C1CommandDock Class / CentralTabMinimumSize Property
Example

In This Topic
    CentralTabMinimumSize Property
    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;
    See Also