ESRI.ArcGIS.ADF.Web.UI.WebControls
Alignment Property
See Also 
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) 
<ResDescriptionAttribute("The alignment of the text and image on a Command or Tool.")>
<PersistenceModeAttribute()>
<DefaultValueAttribute()>
<ResCategoryAttribute("Appearance")>
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# 
[ResDescriptionAttribute("The alignment of the text and image on a Command or Tool.")]
[PersistenceModeAttribute()]
[DefaultValueAttribute()]
[ResCategoryAttribute("Appearance")]
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.

See Also

© 2010 All Rights Reserved.