ESRI.ArcGIS.ADF.Web.UI.WebControls
Alignment Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > ToolbarBase Class : Alignment Property




Alignment of the text and image on a Command or Tool.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<ResCategoryAttribute("Appearance")>
<ResDescriptionAttribute("The alignment of the text and image on a Command or Tool.")>
<PersistenceModeAttribute(PersistenceMode.Attribute)>
Public Property Alignment As Alignment
Visual Basic (Usage)Copy Code
Dim instance As ToolbarBase
Dim value As Alignment
 
instance.Alignment = value
 
value = instance.Alignment
C# 
[DefaultValueAttribute()]
[ResCategoryAttribute("Appearance")]
[ResDescriptionAttribute("The alignment of the text and image on a Command or Tool.")]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public Alignment Alignment {get; set;}

Remarks

If the toolbar is enlarged so that tools and commands are padded with spacing, this property determines the horizontal alignment of the tools and commands. For example, a value of Right will cause the text and/or image for the tool or command to be aligned at the right side of the item area, with extra spacing on the left side. Valid Alignment values are Left, Center (the default) and Right.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.