Xceed Grid for WinForms v4.3 Documentation
SideButtons Property


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinButtonContainerControl Class : SideButtons Property
Gets or sets a collection of WinButton controls which are contained within the WinButtonContainerControl control.
Syntax
'Declaration
 
<DescriptionAttribute("A collection of buttons which are contained within the control.")>

<CategoryAttribute("Appearance")>

<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>

<EditorAttribute("Xceed.Editors.Design.WinButtonCollectionEditor", System.Drawing.Design.UITypeEditor)>

Public Property SideButtons As WinButtonCollection
'Usage
 
Dim instance As WinButtonContainerControl

Dim value As WinButtonCollection

 

instance.SideButtons = value

 

value = instance.SideButtons
[Description("A collection of buttons which are contained within the control.")]

[Category("Appearance")]

[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]

[Editor("Xceed.Editors.Design.WinButtonCollectionEditor", System.Drawing.Design.UITypeEditor)]

public WinButtonCollection SideButtons {get; set;}

Property Value

A WinButtonCollection containgin the WinButton controls contained within the WinButtonContainerControl control.
Remarks

The WinButton controls contained within the WinButtonContainerControl can only be docked to the left or right of the container. By default, they will be docked to the right.

If the WinButton control is part of the SideButtons collection of a WinTextBox (or derived) control, and is assigned as the WinTextBox control's DropDownButton, the default value of the AutoSizeMode property will be AutoSizeMode.ScrollBarWidth.

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

WinButtonContainerControl Class
WinButtonContainerControl Members