Skip to main content
All docs
V25.1
  • GanttCommandColumn.NewButton Property

    Gets the New button’s settings.

    Namespace: DevExpress.Web.ASPxGantt

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

    NuGet Package: DevExpress.Web

    Declaration

    public TreeListCommandColumnButton NewButton { get; }

    Property Value

    Type Description
    TreeListCommandColumnButton

    The button settings.

    Remarks

    The New button deletes the current task. Use the NewButton property to specify the button’s image, caption and visibility.

    <dx:ASPxGantt ID="Gantt" runat="server" Height="700" ... >
        // ...
        <SettingsTasksList Width="45%">
            <Columns>
                <dx:GanttCommandColumn Width="90">
                    <NewButton Visible="true"/>                
                </dx:GanttCommandColumn>
                //...
            </Columns>
        </SettingsTasksList>
    </dx:ASPxGantt>
    

    Examples

    Online Demos

    See Also