Back to Devexpress

GanttToolbarSettings.Visible Property

aspnet-devexpress-dot-web-dot-aspxgantt-dot-gantttoolbarsettings.md

latest2.1 KB
Original Source

GanttToolbarSettings.Visible Property

Specifies the toolbar’s visibility.

Namespace : DevExpress.Web.ASPxGantt

Assembly : DevExpress.Web.ASPxGantt.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(true)]
public bool Visible { get; set; }
vb
<DefaultValue(True)>
Public Property Visible As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true, to display the toolbar; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to Visible
ASP.NET MVC ExtensionsGanttSettings

.SettingsToolbar .Visible

| | ASP.NET Web Forms Controls | ASPxGantt |

.SettingsToolbar .Visible

|

Remarks

Set the Visible property to false to hide the toolbar.

aspx
<dx:ASPxGantt ID="Gantt" runat="server"...>
    ...
    <SettingsToolbar Visible="false" />
</dx:ASPxGantt>

Run Demo: (Web Forms) Gantt Toolbar

Run Demo: (MVC) Gantt Toolbar

See Also

ASPxGantt - 'How To' Examples

GanttToolbarSettings Class

GanttToolbarSettings Members

DevExpress.Web.ASPxGantt Namespace