GrapeCity MultiRow Windows Forms Documentation
Alignment Property (HeaderDropDownList)


Gets or sets the horizontal alignment of the HeaderDropDownList.
Syntax
<RefreshPropertiesAttribute(RefreshProperties.All)>
<SRCategoryAttribute("Appearance")>
<SRDescriptionAttribute("Indicates the horizontal alignment of  the HeaderDropDownList.")>
<DefaultValueAttribute()>
Public Property Alignment As LeftRightAlignment
Dim instance As HeaderDropDownList
Dim value As LeftRightAlignment
 
instance.Alignment = value
 
value = instance.Alignment
[RefreshProperties(RefreshProperties.All)]
[SRCategory("Appearance")]
[SRDescription("Indicates the horizontal alignment of  the HeaderDropDownList.")]
[DefaultValue()]
public LeftRightAlignment Alignment {get; set;}

Property Value

One of the System.Windows.Forms.LeftRightAlignment values that indicates the horizontal alignment of the HeaderDropDownList. The default is System.Windows.Forms.LeftRightAlignment.Right.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe assigned value is not one of the System.Windows.Forms.LeftRightAlignment values.
Remarks
If you set the alignment when the drop-down list is DroppedDown, the setting works the next time you open it.
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

HeaderDropDownList Class
HeaderDropDownList Members

 

 


Copyright © GrapeCity, inc. All rights reserved.