Skip to main content

GanttCommandColumn.NewButton Property

Gets the New button’s settings.

Namespace: DevExpress.Web.ASPxGantt

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

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