All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GanttToolbarSettings.Alignment Property

Specifies the toolbar horizontal alignment.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v21.1.dll

Declaration

[DefaultValue(GanttToolbarAlignment.Left)]
public GanttToolbarAlignment Alignment { get; set; }

Property Value

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.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Alignment
ASP.NET MVC Extensions GanttSettings
.SettingsToolbar.Alignment
MVCxGantt
.SettingsToolbar.Alignment
ASP.NET Web Forms Controls ASPxGantt
.SettingsToolbar.Alignment

Remarks

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

Run Demo: (MVC) Gantt Toolbar

See Also