Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinButton Class / DropDownSize Property


    DropDownSize Property (WinButton)
    Gets or sets the size of the dropdown.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The size of the dropdown.")>
    <CategoryAttribute("DropDown")>
    Public Property DropDownSize As Size
     
    'Usage
     
    Dim instance As WinButton
    Dim value As Size
     
    instance.DropDownSize = value
     
    value = instance.DropDownSize

    Property Value

    A System.Drawing.Size structure representing the size of the dropdown.
    Remarks

    The size of the dropdown is initially determined by the size of the control used as the DropDownControl. If the size of the dropdown control is changed (DropDownControl.Size) while the dropdown is open, the size of the dropdown will be readjusted when the dropdown is reopened. If the size is changed via the DropDownSize property, the changed will be immediately reflected.

    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