Skip to main content
A newer version of this page is available. .

GanttToolbarSettings.Alignment Property

Specifies the toolbar horizontal alignment.

Namespace: DevExpress.Web.ASPxGantt

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

NuGet Package: DevExpress.Web

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:

Object Type Path to Alignment
ASPxGantt
.SettingsToolbar .Alignment
GanttSettings
.SettingsToolbar .Alignment
MVCxGantt
.SettingsToolbar .Alignment

Remarks

Use the Alignment property to change the toolbar alignment.

<dx:ASPxGantt ID="Gantt" runat="server"...>
    ...
    <SettingsToolbar Alignment="Right" />
</dx:ASPxGantt>

Online Demo

Gantt - Toolbar

See Also