![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
Alignment Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > ToolbarBase Class : Alignment Property |
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) | ![]() |
---|---|
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;} |
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.
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