aspnet-devexpress-dot-web-dot-aspxgantt-dot-gantttoolbarsettings-a6219dd2.md
Specifies the toolbar horizontal alignment.
Namespace : DevExpress.Web.ASPxGantt
Assembly : DevExpress.Web.ASPxGantt.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(GanttToolbarAlignment.Left)]
public GanttToolbarAlignment Alignment { get; set; }
<DefaultValue(GanttToolbarAlignment.Left)>
Public Property Alignment As GanttToolbarAlignment
| Type | Default | Description |
|---|---|---|
| GanttToolbarAlignment | Left |
The alignment.
|
Available values:
| Name | Description |
|---|---|
| Left |
Aligns the toolbar items to the left.
| | Justify |
Aligns items to the left and right edges of the toolbar.
| | Right |
Aligns the toolbar items to the right.
|
You can access this nested property as listed below:
| Library | Object Type | Path to Alignment |
|---|---|---|
| ASP.NET MVC Extensions | GanttSettings |
.SettingsToolbar .Alignment
| | ASP.NET Web Forms Controls | ASPxGantt |
.SettingsToolbar .Alignment
|
Use the Alignment property to change the toolbar alignment.
<dx:ASPxGantt ID="Gantt" runat="server"...>
...
<SettingsToolbar Alignment="Right" />
</dx:ASPxGantt>
Run Demo: (Web Forms) Gantt Toolbar
See Also