Xceed Grid for WinForms v4.3 Documentation
DropDownAnchor Property (WinButton)


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinButton Class : DropDownAnchor Property
Gets or sets the location of the DropDownControl's anchor.
Syntax
'Declaration
 
<DescriptionAttribute("The location of the DropDownControl's anchor.")>

<CategoryAttribute("DropDown")>

Public Property DropDownAnchor As DropDownAnchor
'Usage
 
Dim instance As WinButton

Dim value As DropDownAnchor

 

instance.DropDownAnchor = value

 

value = instance.DropDownAnchor
[Description("The location of the DropDownControl's anchor.")]

[Category("DropDown")]

public DropDownAnchor DropDownAnchor {get; set;}

Property Value

A DropDownAnchor value indicating the location of the DropDownControl's anchor.
Remarks
Right The dropdown control is anchored on the right.
Left The dropdown control is anchored on the left.

The position of the dropdown's resizing grip will be at the opposite of the dropdown's anchor point. For example, in the first image, the DropDownAnchor property is set to DropDownAnchor.Left, and its resizing grip is located on the right. In the second image, the DropDownAnchor property is set to DropDownAnchor.Right; therefore, the resizing grip is located on the left.

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

Reference

WinButton Class
WinButton Members