Xceed Docking Windows for WinForms v2.3 Documentation
Xceed.DockingWindows Namespace / AutoHideFrameAppearance Class / TopBottomHeight Property


In This Topic
    TopBottomHeight Property
    In This Topic
    Gets or sets a value representing the height, in pixels, of the top and bottom sections of the AutoHideFrame.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The height, in pixels, of the top and bottom sections of the auto-hide frame.")>
    <CategoryAttribute("Appearance")>
    Public Property TopBottomHeight As Integer
    'Usage
     
    Dim instance As AutoHideFrameAppearance
    Dim value As Integer
     
    instance.TopBottomHeight = value
     
    value = instance.TopBottomHeight
    [Description("The height, in pixels, of the top and bottom sections of the auto-hide frame.")]
    [Category("Appearance")]
    public int TopBottomHeight {get; set;}

    Property Value

    A value representing the height, in pixels, of the top and bottom sections of the AutoHideFrame. By default, 22 pixels.
    Remarks

    The height of the tabs contained in the AutoHideFrame will be adjusted according to size of the section they are contained in. Ideally, each ToolWindow should have a 16 x 16 image in order for its associated tab to have a proper appearance when it is displayed. If an image larger than 16 x 16 is used, the height and width of the frame sections must be changed accordingly. The thickness of the AutoHideFrame will not automatically adjusted to the image size.

    To reset the value of the TopBottomHeight property to its default value, the ResetTopBottomHeight method must be called.

    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