menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IGantt - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IGantt

    Interface for SfGantt component.

    Namespace: Syncfusion.Blazor.Gantt
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public interface IGantt

    Properties

    AddDialogFields

    Defines the tabs and fields to be included in the add dialog.

    Declaration
    List<GanttAddDialogField> AddDialogFields { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<GanttAddDialogField>

    AllowMultiSorting

    Configures the AllowMultiSorting of the Gantt.

    Declaration
    bool AllowMultiSorting { get; set; }
    Property Value
    Type
    System.Boolean

    AllowSelection

    To enable selection feature in Gantt.

    Declaration
    bool AllowSelection { get; set; }
    Property Value
    Type
    System.Boolean

    AllowSorting

    Configures the AllowSorting of the Gantt.

    Declaration
    bool AllowSorting { get; set; }
    Property Value
    Type
    System.Boolean

    ColumnChooserSettings

    Configures gantt Column chooser settings

    Declaration
    GanttColumnChooserSettings ColumnChooserSettings { get; set; }
    Property Value
    Type
    GanttColumnChooserSettings

    Columns

    To set columns collections in Gantt.

    Declaration
    List<GanttColumn> Columns { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<GanttColumn>

    CriticalSettings

    Gets or sets an instance of CriticalSettings to configure the critical tasks behavior in Gantt.

    Declaration
    GanttCriticalPathSettings CriticalSettings { get; set; }
    Property Value
    Type Description
    GanttCriticalPathSettings

    An instance of CriticalSettings.

    Remarks

    Provides options to customize the critical path behavior.

    Examples
        
    
          <SfGantt @ref = "Gantt" DataSource="@TaskCollection"> 
                    <GanttCriticalPathSettings SlackValue="1"> 
    
                    </GanttCriticalPathSettings> 
          </SfGantt>  

    DateFormat

    To set date format in Gantt.

    Declaration
    string DateFormat { get; set; }
    Property Value
    Type
    System.String

    DayWorkingTime

    Defines customized working time of project.

    Declaration
    List<GanttDayWorkingTime> DayWorkingTime { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<GanttDayWorkingTime>

    DurationUnit

    To set duration unit in Gantt.

    Declaration
    DurationUnit DurationUnit { get; set; }
    Property Value
    Type
    DurationUnit

    EditDialogFields

    Defines the tabs and fields to be included in the edit dialog.

    Declaration
    List<GanttEditDialogField> EditDialogFields { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<GanttEditDialogField>

    EditSettings

    Configures the edit settings.

    Declaration
    GanttEditSettings EditSettings { get; set; }
    Property Value
    Type
    GanttEditSettings

    EventMarkers

    Defines Gantt EventMarker collection.

    Declaration
    List<GanttEventMarker> EventMarkers { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<GanttEventMarker>

    FilterSettings

    Configures the filter settings of the Gantt.

    Declaration
    GanttFilterSettings FilterSettings { get; set; }
    Property Value
    Type
    GanttFilterSettings

    GridLines

    Configures the grid lines in tree grid and gantt chart.

    Declaration
    GridLine GridLines { get; set; }
    Property Value
    Type
    GridLine

    Height

    Defines the height of the Gantt component container.

    Declaration
    string Height { get; set; }
    Property Value
    Type
    System.String

    HighlightWeekends

    If highlightWeekends set to true, then all weekend days are highlighted in week - day timeline mode.

    Declaration
    bool HighlightWeekends { get; set; }
    Property Value
    Type
    System.Boolean

    Holidays

    Defines Gantt Holiday collection.

    Declaration
    List<GanttHoliday> Holidays { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<GanttHoliday>

    IncludeWeekend

    To include weekend days in schedule calculation.

    Declaration
    bool IncludeWeekend { get; set; }
    Property Value
    Type
    System.Boolean

    KeySettings

    Configures the key settings.

    Declaration
    GanttKeySettings KeySettings { get; set; }
    Property Value
    Type
    GanttKeySettings

    Locale

    Defines Gantt localization feature.

    Declaration
    string Locale { get; set; }
    Property Value
    Type
    System.String

    ProjectEndDate

    Defines end date of the project, if projectEndDate value not set then it will be calculated from data source.

    Declaration
    Nullable<DateTime> ProjectEndDate { get; set; }
    Property Value
    Type
    System.Nullable<System.DateTime>

    ProjectStartDate

    Defines start date of the project, if projectStartDate value not set then it will be calculated from data source.

    Declaration
    Nullable<DateTime> ProjectStartDate { get; set; }
    Property Value
    Type
    System.Nullable<System.DateTime>

    Query

    Defines the external Query that will be executed along with data processing.

    Declaration
    Query Query { get; set; }
    Property Value
    Type
    Query

    RowHeight

    Defines height value for grid rows and chart rows in Gantt.

    Declaration
    int RowHeight { get; set; }
    Property Value
    Type
    System.Int32

    SearchSettings

    Configures the search settings of the Gantt.

    Declaration
    GanttSearchSettings SearchSettings { get; set; }
    Property Value
    Type
    GanttSearchSettings

    SelectedRowIndex

    The selectedRowIndex allows you to select a row at initial rendering.

    Declaration
    int SelectedRowIndex { get; set; }
    Property Value
    Type
    System.Int32

    SelectionSettings

    Configures the selection settings.

    Declaration
    GanttSelectionSettings SelectionSettings { get; set; }
    Property Value
    Type
    GanttSelectionSettings

    ShowInlineNotes

    To show notes column cell values inside the cell or in tooltip.

    Declaration
    bool ShowInlineNotes { get; set; }
    Property Value
    Type
    System.Boolean

    SortSettings

    Configures the sort settings of the Gantt.

    Declaration
    GanttSortSettings SortSettings { get; set; }
    Property Value
    Type
    GanttSortSettings

    SplitterSettings

    Configures the splitter settings of the Gantt.

    Declaration
    GanttSplitterSettings SplitterSettings { get; set; }
    Property Value
    Type
    GanttSplitterSettings

    TaskbarSettings

    Gets or sets an instance of TaskbarSettings to configure the taskbar settings behavior in Gantt.

    Declaration
    GanttTaskbarSettings TaskbarSettings { get; set; }
    Property Value
    Type Description
    GanttTaskbarSettings

    An instance of TaskbarSettings.

    Remarks

    Provides options to customize the multitaskbar behavior.

    Examples
        
    
          <SfGantt @ref = "Gantt" DataSource="@TaskCollection"> 
                    <GanttTaskbarSettings EnableMultiTaskbar="true" AllowTaskbarDragAndDrop="true"> 
    
                    </GanttTaskbarSettings> 
          </SfGantt>  

    TaskFields

    Defines task fields value for grid rows and chart rows in Gantt.

    Declaration
    GanttTaskFields TaskFields { get; set; }
    Property Value
    Type
    GanttTaskFields

    TimelineSettings

    configures timeline settings of the Gantt.

    Declaration
    GanttTimelineSettings TimelineSettings { get; set; }
    Property Value
    Type
    GanttTimelineSettings

    TimelineTierSettings

    configures timelineTier settings of the Gantt.

    Declaration
    GanttTimelineTierSettings TimelineTierSettings { get; set; }
    Property Value
    Type
    GanttTimelineTierSettings

    Toolbar

    Toolbar defines the toolbar items of the Gantt.

    Declaration
    object Toolbar { get; set; }
    Property Value
    Type
    System.Object

    TreeColumnIndex

    To define expander column index in Grid.

    Declaration
    int TreeColumnIndex { get; set; }
    Property Value
    Type
    System.Int32

    ViewType

    Defines the view type of the Gantt.

    Declaration
    ViewType ViewType { get; set; }
    Property Value
    Type
    ViewType

    Width

    Defines the width of the Gantt component container.

    Declaration
    string Width { get; set; }
    Property Value
    Type
    System.String

    Methods

    ModelChanged(IDictionary<String, Object>, String)

    ModelChanged in Gantt.

    Declaration
    void ModelChanged(IDictionary<string, object> propertyChanges, string propertyName = null)
    Parameters
    Type Name Description
    System.Collections.Generic.IDictionary<System.String, System.Object> propertyChanges

    propertyChanges.

    System.String propertyName

    propertyName.

    UpdateChildProperties(String, Object)

    To update Child Properties.

    Declaration
    void UpdateChildProperties(string key, object changedValue)
    Parameters
    Type Name Description
    System.String key

    key.

    System.Object changedValue

    value.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved