WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GanttControl

    Show / Hide Table of Contents

    Class GanttControl

    Represents a control, that illustrates a project schedule by displaying the progress of list of tasks/activities of a project in table view and graph notation.

    Inheritance
    System.Object
    GanttControl
    Namespace: Syncfusion.Windows.Controls.Gantt
    Assembly: Syncfusion.Gantt.Wpf.dll
    Syntax
    [SkinType(SkinVisualStyle = Skin.VS2010, Type = typeof(GanttControl), XamlResource = "/Syncfusion.Gantt.Wpf;component/Themes/VS2010.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2010Black, Type = typeof(GanttControl), XamlResource = "/Syncfusion.Gantt.Wpf;component/Themes/Office2010Black.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2010Silver, Type = typeof(GanttControl), XamlResource = "/Syncfusion.Gantt.Wpf;component/Themes/Office2010Silver.xaml")]
    [SkinType(SkinVisualStyle = Skin.Blend, Type = typeof(GanttControl), XamlResource = "/Syncfusion.Gantt.Wpf;component/Themes/Blend.xaml")]
    [SkinType(SkinVisualStyle = Skin.Metro, Type = typeof(GanttControl), XamlResource = "/Syncfusion.Gantt.Wpf;component/Themes/Metro.xaml")]
    public class GanttControl : Control

    Constructors

    GanttControl()

    Initializes a new instance of the GanttControl class.

    Declaration
    public GanttControl()

    Fields

    BaseCellMaxLengthProperty

    The DependencyProperty for BaseCellMaxLength property.

    Declaration
    public static readonly DependencyProperty BaseCellMaxLengthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    BaseCellMinLengthProperty

    The DependencyProperty for BaseCellMinLength property.

    Declaration
    public static readonly DependencyProperty BaseCellMinLengthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    BaselineColorProperty

    The DependencyProperty for BaselineColor property.

    Declaration
    public static readonly DependencyProperty BaselineColorProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    BaselineStrokeThicknessProperty

    The DependencyProperty for BaselineStrokeThickness property.

    Declaration
    public static readonly DependencyProperty BaselineStrokeThicknessProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ChartWidthProperty

    The DependencyProperty for ChartWidth property.

    Declaration
    public static readonly DependencyProperty ChartWidthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ConnectorStrokeProperty

    The DependencyProperty for ConnectorStroke property.

    Declaration
    public static readonly DependencyProperty ConnectorStrokeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    CriticalPathBrushProperty

    The DependencyProperty for CriticalPathBrush property.

    Declaration
    public static readonly DependencyProperty CriticalPathBrushProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    CurrentDateLineProperty

    The DependencyProperty for CurrentDateLine property.

    Declaration
    public static readonly DependencyProperty CurrentDateLineProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    CustomScheduleSourceProperty

    The DependencyProperty for CustomScheduleSource property.

    Declaration
    public static readonly DependencyProperty CustomScheduleSourceProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    DefaultEndTimeProperty

    The DependencyProperty for DefaultEndTime property.

    Declaration
    public static readonly DependencyProperty DefaultEndTimeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    DefaultStartTimeProperty

    The DependencyProperty for DefaultStartTime property.

    Declaration
    public static readonly DependencyProperty DefaultStartTimeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    EndPointProperty

    The DependencyProperty for EndPoint property.

    Declaration
    public static DependencyProperty EndPointProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    EndTimeProperty

    The DependencyProperty for EndTime property.

    Declaration
    public static DependencyProperty EndTimeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ExcludeHolidaysProperty

    The DependencyProperty for ExcludeHolidays property

    Declaration
    public static readonly DependencyProperty ExcludeHolidaysProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ExcludeWeekendsProperty

    The DependencyProperty for ExcludeWeekends property

    Declaration
    public static readonly DependencyProperty ExcludeWeekendsProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    FiscalYearBeginsOnProperty

    The DependencyProperty for FiscalYearBeginsOn property.

    Declaration
    public static DependencyProperty FiscalYearBeginsOnProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    GridHeaderBackgroundProperty

    The DependencyProperty for GridHeaderBackground property.

    Declaration
    public static readonly DependencyProperty GridHeaderBackgroundProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    GridHeaderForegroundProperty

    The DependencyProperty for GridHeaderForeground property.

    Declaration
    public static readonly DependencyProperty GridHeaderForegroundProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    GridWidthProperty

    The DependencyProperty for GridWidth property.

    Declaration
    public static readonly DependencyProperty GridWidthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    HighlightedItemsProperty

    The DependencyProperty for HighlightedItems property.

    Declaration
    public static readonly DependencyProperty HighlightedItemsProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    HighlightItemBrushProperty

    The DependencyProperty for HighlightItemBrush property.

    Declaration
    public static readonly DependencyProperty HighlightItemBrushProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    HolidaysProperty

    Identifies the Holidays dependency property.

    Declaration
    public static readonly DependencyProperty HolidaysProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IsFiscalYearNumberingEnabledProperty

    The DependencyProperty for IsFiscalYearNumberingEnabled property.

    Declaration
    public static DependencyProperty IsFiscalYearNumberingEnabledProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ItemsSourceProperty

    The DependencyProperty for ItemsSource property.

    Declaration
    public static DependencyProperty ItemsSourceProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    LayoutModeProperty

    The DependencyProperty for LayoutMode property.

    Declaration
    public static readonly DependencyProperty LayoutModeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    NodeCreatedEvent

    The DependencyProperty for NodeCreated property.

    Declaration
    public static readonly RoutedEvent NodeCreatedEvent
    Field Value
    Type Description
    System.Windows.RoutedEvent

    NodeDragCompletedEvent

    The DependencyProperty for NodeDragCompleted property.

    Declaration
    public static readonly RoutedEvent NodeDragCompletedEvent
    Field Value
    Type Description
    System.Windows.RoutedEvent

    NodeDragDeltaEvent

    The DependencyProperty for NodeDragDelta property.

    Declaration
    public static readonly RoutedEvent NodeDragDeltaEvent
    Field Value
    Type Description
    System.Windows.RoutedEvent

    NodeResizingCompletedEvent

    The DependencyProperty for NodeResizingCompleted property.

    Declaration
    public static readonly RoutedEvent NodeResizingCompletedEvent
    Field Value
    Type Description
    System.Windows.RoutedEvent

    NodeResizingDeltaEvent

    The DependencyProperty for NodeResizingDelta property.

    Declaration
    public static readonly RoutedEvent NodeResizingDeltaEvent
    Field Value
    Type Description
    System.Windows.RoutedEvent

    NonWorkingHoursBackgroundProperty

    The DependencyProperty for NonWorkingHoursBackground property.

    Declaration
    public static DependencyProperty NonWorkingHoursBackgroundProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ProgressIndicatorBackgroundProperty

    The DependencyProperty for ProgressIndicatorBackground property.

    Declaration
    public static DependencyProperty ProgressIndicatorBackgroundProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ResourceCollectionProperty

    The DependencyProperty for ResourceCollection property.

    Declaration
    public static readonly DependencyProperty ResourceCollectionProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ResourceContainerCreatedEvent

    The DependencyProperty for ResourceContainerCreated property.

    Declaration
    public static readonly RoutedEvent ResourceContainerCreatedEvent
    Field Value
    Type Description
    System.Windows.RoutedEvent

    ResourceContainerTemplateProperty

    The DependencyProperty for ResourceContainerTemplate property.

    Declaration
    public static readonly DependencyProperty ResourceContainerTemplateProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ResourceContainerTemplateSelectorProperty

    The DependencyProperty for ResourceContainerTemplateSelector property.

    Declaration
    public static readonly DependencyProperty ResourceContainerTemplateSelectorProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ResourceNamePlacementProperty

    The DependencyProperty for ResourceNamePlacement property.

    Declaration
    public static readonly DependencyProperty ResourceNamePlacementProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ResourceNameVisibilityProperty

    The DependencyProperty for ResourceNameVisibility property.

    Declaration
    public static DependencyProperty ResourceNameVisibilityProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    RowHeightProperty

    The DependencyProperty for RowHeight property.

    Declaration
    public static readonly DependencyProperty RowHeightProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ScheduleBackgroundProperty

    The DependencyProperty for ScheduleBackground property.

    Declaration
    public static DependencyProperty ScheduleBackgroundProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ScheduleBorderBrushProperty

    The DependencyProperty for ScheduleBorderBrush property.

    Declaration
    public static DependencyProperty ScheduleBorderBrushProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ScheduleBorderThicknessProperty

    The DependencyProperty for ScheduleBorderThickness property.

    Declaration
    public static DependencyProperty ScheduleBorderThicknessProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ScheduleCellCreatedEvent

    The DependencyProperty for ScheduleCellCreated property.

    Declaration
    public static readonly RoutedEvent ScheduleCellCreatedEvent
    Field Value
    Type Description
    System.Windows.RoutedEvent

    ScheduleForegroundProperty

    The DependencyProperty for ScheduleForeground property.

    Declaration
    public static readonly DependencyProperty ScheduleForegroundProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ScheduleRangePaddingProperty

    The DependencyProperty for ScheduleRangePadding property.

    Declaration
    public static readonly DependencyProperty ScheduleRangePaddingProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ScheduleTypeProperty

    The DependencyProperty for ScheduleType property.

    Declaration
    public static DependencyProperty ScheduleTypeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    SelectionBrushProperty

    Identifies the SelectionBrush property.

    Declaration
    public static readonly DependencyProperty SelectionBrushProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    SelectionModeProperty

    Identifies the SelectionModeProperty property.

    Declaration
    public static readonly DependencyProperty SelectionModeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowAddNewColumnProperty

    The DependencyProperty for ShowAddNewColumn property.

    Declaration
    public static readonly DependencyProperty ShowAddNewColumnProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowBaselineProperty

    The DependencyProperty for ShowBaseline property.

    Declaration
    public static readonly DependencyProperty ShowBaselineProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowChartLinesProperty

    The DependencyProperty for ShowChartLines property.

    Declaration
    public static readonly DependencyProperty ShowChartLinesProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowCriticalPathProperty

    The DependencyProperty for ShowCriticalPath property.

    Declaration
    public static readonly DependencyProperty ShowCriticalPathProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowDateWithTimeProperty

    The DependencyProperty for ShowDateWithTime property.

    Declaration
    public static readonly DependencyProperty ShowDateWithTimeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowGridCellToolTipProperty

    Identifies the ShowGridCellToolTip property.

    Declaration
    public static readonly DependencyProperty ShowGridCellToolTipProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowGridLinesOnZoomingProperty

    The DependencyProperty for ShowGridLinesOnZooming property.

    Declaration
    public static readonly DependencyProperty ShowGridLinesOnZoomingProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowHolidaysProperty

    The DependencyProperty for ShowHolidays property

    Declaration
    public static readonly DependencyProperty ShowHolidaysProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowNonWorkingHoursBackgroundProperty

    The DependencyProperty for ShowNonWorkingHoursBackground property.

    Declaration
    public static readonly DependencyProperty ShowNonWorkingHoursBackgroundProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowResizingTooltipProperty

    The DependencyProperty for ShowResizingTooltip property.

    Declaration
    public static readonly DependencyProperty ShowResizingTooltipProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowStripLinesProperty

    The DependencyProperty for ShowStripLines property.

    Declaration
    public static readonly DependencyProperty ShowStripLinesProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowWeekendsProperty

    The DependencyProperty for ShowWeekends property

    Declaration
    public static readonly DependencyProperty ShowWeekendsProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    SplitTaskAttributeMappingProperty

    The DependencyProperty for SplitTaskAttributeMapping property.

    Declaration
    public static readonly DependencyProperty SplitTaskAttributeMappingProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    StartPointProperty

    The DependencyProperty for StartPoint property.

    Declaration
    public static DependencyProperty StartPointProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    StartTimeProperty

    The DependencyProperty for StartTime property.

    Declaration
    public static DependencyProperty StartTimeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    StickCurrentDateLineToProperty

    The DependencyProperty for StickCurrentDateLineTo property.

    Declaration
    public static DependencyProperty StickCurrentDateLineToProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    StripLineCreatedevent

    The DependencyProperty for StripLineCreated property.

    Declaration
    public static readonly RoutedEvent StripLineCreatedevent
    Field Value
    Type Description
    System.Windows.RoutedEvent

    StripLinesProperty

    The DependencyProperty for StripLines property.

    Declaration
    public static readonly DependencyProperty StripLinesProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    TaskAttributeMappingProperty

    The DependencyProperty for TaskAttributeMapping property.

    Declaration
    public static DependencyProperty TaskAttributeMappingProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    TaskNodeBackgroundProperty

    The DependencyProperty for TaskNodeBackground property.

    Declaration
    public static readonly DependencyProperty TaskNodeBackgroundProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ToolTipTemplateProperty

    The DependencyProperty for ToolTipTemplate property.

    Declaration
    public static DependencyProperty ToolTipTemplateProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    UseAutoUpdateHierarchyProperty

    The DependencyProperty for UseAutoUpdateHierarchy property.

    Declaration
    public static readonly DependencyProperty UseAutoUpdateHierarchyProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    UseOnDemandScheduleProperty

    The DependencyProperty for UseOnDemandSchedule property.

    Declaration
    public static readonly DependencyProperty UseOnDemandScheduleProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ValidationModeProperty

    The DependencyProperty for ValidationMode property.

    Declaration
    public static readonly DependencyProperty ValidationModeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    VisualStyleProperty

    The DependencyProperty for VisualStyle property.

    Declaration
    public static readonly DependencyProperty VisualStyleProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    WeekBeginsOnProperty

    The DependencyProperty for WeekBeginsOn property.

    Declaration
    public static readonly DependencyProperty WeekBeginsOnProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    WeekendsProperty

    The DependencyProperty of Weekends property

    Declaration
    public static readonly DependencyProperty WeekendsProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ZoomChangedEvent

    The DependencyProperty for ZoomChanged property.

    Declaration
    public static readonly RoutedEvent ZoomChangedEvent
    Field Value
    Type Description
    System.Windows.RoutedEvent

    ZoomFactorProperty

    The DependencyProperty for ZoomFactor property.

    Declaration
    public static readonly DependencyProperty ZoomFactorProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    ActualEndTime

    Gets the actual end time value.

    Declaration
    public DateTime ActualEndTime { get; }
    Property Value
    Type Description
    System.DateTime

    ActualStartTime

    Gets the actual start time value.

    Declaration
    public DateTime ActualStartTime { get; }
    Property Value
    Type Description
    System.DateTime

    BaseCellMaxLength

    Gets or sets the length of the base cell max.

    Declaration
    public double BaseCellMaxLength { get; set; }
    Property Value
    Type Description
    System.Double

    The length of the base cell max.

    BaseCellMinLength

    Gets or sets the length of the base cell min.

    Declaration
    public double BaseCellMinLength { get; set; }
    Property Value
    Type Description
    System.Double

    The length of the base cell min.

    BaselineColor

    Gets or sets the color for baseline.

    Declaration
    public Brush BaselineColor { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The baseline color.

    BaselineStrokeThickness

    Gets or sets the stroke thickness for baseline.

    Declaration
    public double BaselineStrokeThickness { get; set; }
    Property Value
    Type Description
    System.Double

    The baseline stroke thickness.

    ChartWidth

    Gets or sets the width of the chart.

    Declaration
    public GridLength ChartWidth { get; set; }
    Property Value
    Type Description
    System.Windows.GridLength

    The width of the chart.

    ConnectorStroke

    Gets or sets the connector stroke.

    Declaration
    public Brush ConnectorStroke { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The System.Windows.Media.Brush value.

    CriticalPathBrush

    Gets or sets brush for critical path.

    Declaration
    public Brush CriticalPathBrush { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The critical path brush.

    CurrentDateLine

    Gets or sets the current date line.

    Declaration
    public Line CurrentDateLine { get; set; }
    Property Value
    Type Description
    System.Windows.Shapes.Line

    The current date line.

    CustomScheduleSource

    Gets or sets the custom schedule source to draw the scheule.

    Declaration
    public IList<GanttScheduleRowInfo> CustomScheduleSource { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IList<GanttScheduleRowInfo>

    The custom schedule source.

    DefaultEndTime

    Gets or sets the default end time.

    Declaration
    public TimeSpan DefaultEndTime { get; set; }
    Property Value
    Type Description
    System.TimeSpan

    The default end time.

    DefaultStartTime

    Gets or sets the default start time.

    Declaration
    public TimeSpan DefaultStartTime { get; set; }
    Property Value
    Type Description
    System.TimeSpan

    The default start time.

    EndPoint

    Gets or sets the end point.

    Declaration
    public double EndPoint { get; set; }
    Property Value
    Type Description
    System.Double

    The end point.

    EndTime

    Gets or sets the end time.

    Declaration
    public DateTime EndTime { get; set; }
    Property Value
    Type Description
    System.DateTime

    The end time.

    ExcludeHolidays

    Excludes or includes the holidays in duration calculation

    Declaration
    public bool ExcludeHolidays { get; set; }
    Property Value
    Type Description
    System.Boolean

    ExcludeWeekends

    Excludes or includes the weekend days in duration calculation

    Declaration
    public bool ExcludeWeekends { get; set; }
    Property Value
    Type Description
    System.Boolean

    ExportToXMLCommand

    Gets the delegate commands for the export to xml command.

    Declaration
    public DelegateCommand<object> ExportToXMLCommand { get; }
    Property Value
    Type Description
    DelegateCommand<System.Object>

    FiscalYearBeginsOn

    Gets or sets the fiscal year begins on.

    Declaration
    public Month FiscalYearBeginsOn { get; set; }
    Property Value
    Type Description
    Month

    The fiscal year begins on.

    GanttGrid

    Gets the gantt grid.

    Declaration
    public GanttGrid GanttGrid { get; }
    Property Value
    Type Description
    GanttGrid

    The gantt grid.

    GridHeaderBackground

    Gets or sets the grid header background.

    Declaration
    public Brush GridHeaderBackground { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The System.Windows.Media.Brush value.

    GridHeaderForeground

    Gets or sets the grid header foreground.

    Declaration
    public Brush GridHeaderForeground { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The System.Windows.Media.Brush value.

    GridWidth

    Gets or sets the width of the grid.

    Declaration
    public GridLength GridWidth { get; set; }
    Property Value
    Type Description
    System.Windows.GridLength

    The width of the grid.

    HighlightedItems

    Gets or sets the highlighted items.

    Declaration
    public IList HighlightedItems { get; set; }
    Property Value
    Type Description
    System.Collections.IList

    The highlighted items.

    HighlightItemBrush

    Gets or sets the highlight brush.

    Declaration
    public Brush HighlightItemBrush { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The System.Windows.Media.Brush value.

    Holidays

    Gets or sets the GanttHolidayCollection.

    Declaration
    public GanttHolidayCollection Holidays { get; set; }
    Property Value
    Type Description
    GanttHolidayCollection

    ImportFromXMLCommand

    Gets the delegate commands for the import from xml command.

    Declaration
    public DelegateCommand<object> ImportFromXMLCommand { get; }
    Property Value
    Type Description
    DelegateCommand<System.Object>

    IsFiscalYearNumberingEnabled

    Gets or sets the fiscal year numbering. If this property is changed, it will be reflected in the gantt schedule. By default IsFiscalYearNumberingEnabled is set to false.

    Declaration
    public bool IsFiscalYearNumberingEnabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is fiscal year numbering endbled; otherwise, false.

    IsLoadedWithInbuiltSource

    Gets a value indicating whether this instance is loaded with inbuilt source.

    Declaration
    public bool IsLoadedWithInbuiltSource { get; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is loaded with inbuilt source; otherwise, false.

    ItemsSource

    Gets or sets the items source.

    Declaration
    public object ItemsSource { get; set; }
    Property Value
    Type Description
    System.Object

    The items source.

    LayoutMode

    Gets or sets the layout mode.

    Declaration
    public GanttLayoutMode LayoutMode { get; set; }
    Property Value
    Type Description
    GanttLayoutMode

    The layout mode.

    Model

    Gets the model.

    Declaration
    public GanttModel Model { get; }
    Property Value
    Type Description
    GanttModel

    The model.

    NonWorkingHoursBackground

    Gets or sets non working hours background

    Declaration
    public Brush NonWorkingHoursBackground { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The System.Windows.Media.Brush value.

    ProgressIndicatorBackground

    Gets or sets the progress Indicator Background brush.

    Declaration
    public Brush ProgressIndicatorBackground { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The System.Windows.Media.Brush value.

    ProjectName

    Gets or sets the Name of the current Project

    Declaration
    public string ProjectName { get; set; }
    Property Value
    Type Description
    System.String

    ResourceCollection

    Gets or sets the resource collection.

    Declaration
    public ObservableCollection<Resource> ResourceCollection { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<Resource>

    The resource collection.

    ResourceContainerTemplate

    Gets or sets the resource template.

    Declaration
    public DataTemplate ResourceContainerTemplate { get; set; }
    Property Value
    Type Description
    System.Windows.DataTemplate

    The resource template.

    ResourceContainerTemplateSelector

    Gets or sets the resource template selector.

    Declaration
    public DataTemplateSelector ResourceContainerTemplateSelector { get; set; }
    Property Value
    Type Description
    System.Windows.Controls.DataTemplateSelector

    The resource template selector.

    ResourceNamePlacement

    Gets or sets the resource placement target.

    Declaration
    public PlacementMode ResourceNamePlacement { get; set; }
    Property Value
    Type Description
    PlacementMode

    The resource placement target.

    ResourceNameVisibility

    Gets or sets the resource name visibility.

    Declaration
    public Visibility ResourceNameVisibility { get; set; }
    Property Value
    Type Description
    System.Windows.Visibility

    The resource name visibility.

    RowHeight

    Gets or sets the height of the row.

    Declaration
    public double RowHeight { get; set; }
    Property Value
    Type Description
    System.Double

    The height of the row.

    ScheduleBackground

    Gets or sets the schedule background.

    Declaration
    public Brush ScheduleBackground { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The System.Windows.Media.Brush value.

    ScheduleBorderBrush

    Gets or sets the schedule border brush.

    Declaration
    public Brush ScheduleBorderBrush { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The System.Windows.Media.Brush value.

    ScheduleBorderThickness

    Gets or sets the schedule border thickness.

    Declaration
    public Thickness ScheduleBorderThickness { get; set; }
    Property Value
    Type Description
    System.Windows.Thickness

    The schedule border thickness.

    ScheduleForeground

    Gets or sets the schedule fore ground.

    Declaration
    public Brush ScheduleForeground { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The System.Windows.Media.Brush value.

    ScheduleRangePadding

    Gets or sets the extended value for schedule.

    Declaration
    public double ScheduleRangePadding { get; set; }
    Property Value
    Type Description
    System.Double

    ScheduleType

    Gets or sets the type of the schedule.

    Declaration
    public ScheduleType ScheduleType { get; set; }
    Property Value
    Type Description
    ScheduleType

    The type of the schedule.

    SelectedItems

    Gets the selected items.

    Declaration
    public ObservableCollection<object> SelectedItems { get; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<System.Object>

    The selected items.

    SelectionBrush

    Gets or sets the brush color for selection.

    Declaration
    public Brush SelectionBrush { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    SelectionMode

    Gets or sets mode in which row has to selected in grid.

    Declaration
    public GridSelectionMode SelectionMode { get; set; }
    Property Value
    Type Description
    GridSelectionMode

    ShowAddNewColumn

    Gets or sets a value indicating whether [show add new column].

    Declaration
    public bool ShowAddNewColumn { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [show add new column]; otherwise, false.

    ShowBaseline

    Enable or disable the baseline.

    Declaration
    public bool ShowBaseline { get; set; }
    Property Value
    Type Description
    System.Boolean

    The show baseline.

    ShowChartLines

    Gets or sets a value indicating whether [add chartlines].

    Declaration
    public bool ShowChartLines { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [chartlines]; otherwise, false.

    ShowCriticalPath

    Gets or sets a value indicating whether the critical path need to be highlighted in GanttChart.

    Declaration
    public bool ShowCriticalPath { get; set; }
    Property Value
    Type Description
    System.Boolean

    The show critical path.

    ShowDateWithTime

    Gets or sets a value indicating whether [show date with time].

    Declaration
    public bool ShowDateWithTime { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [show date with time]; otherwise, false.

    ShowGridCellToolTip

    Gets or sets a value to enable the cell tooltip.

    Declaration
    public bool ShowGridCellToolTip { get; set; }
    Property Value
    Type Description
    System.Boolean

    ShowGridLinesOnZooming

    Declaration
    public bool ShowGridLinesOnZooming { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [show grid lines on zooming]; otherwise, false.

    ShowHolidays

    Gets or sets a value indicating whether enables or disables the ShowHolidays

    Declaration
    public bool ShowHolidays { get; set; }
    Property Value
    Type Description
    System.Boolean

    ShowNonWorkingHoursBackground

    Gets or sets a value indicating whether [show non working Hours background].

    Declaration
    public bool ShowNonWorkingHoursBackground { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [show non working Hours background]; otherwise, false.

    ShowResizingTooltip

    Gets or sets a value indicating whether [show resizing tooltip].

    Declaration
    public bool ShowResizingTooltip { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [show resizing tooltip]; otherwise, false.

    ShowStripLines

    Gets or sets a value indicating whether [show strip lines].

    Declaration
    public bool ShowStripLines { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [show strip lines]; otherwise, false.

    ShowWeekends

    Enables or disables the ShowWeekends

    Declaration
    public bool ShowWeekends { get; set; }
    Property Value
    Type Description
    System.Boolean

    SplitTaskAttributeMapping

    Gets or sets the split task attribute mapping.

    Declaration
    public SplitTaskAttributeMapping SplitTaskAttributeMapping { get; set; }
    Property Value
    Type Description
    SplitTaskAttributeMapping

    The split task attribute mapping.

    StartPoint

    Gets or sets the start point.

    Declaration
    public double StartPoint { get; set; }
    Property Value
    Type Description
    System.Double

    The start point.

    StartTime

    Gets or sets the start time.

    Declaration
    public DateTime StartTime { get; set; }
    Property Value
    Type Description
    System.DateTime

    The start time.

    StickCurrentDateLineTo

    Gets or sets the stick current date line to.

    Declaration
    public CurentDateLinePositions StickCurrentDateLineTo { get; set; }
    Property Value
    Type Description
    CurentDateLinePositions

    The stick current date line to.

    StripLines

    Gets or sets the strip lines.

    Declaration
    public IEnumerable StripLines { get; set; }
    Property Value
    Type Description
    System.Collections.IEnumerable

    The strip lines.

    TaskAttributeMapping

    Gets or sets the task attribute mapping.

    Declaration
    public TaskAttributeMapping TaskAttributeMapping { get; set; }
    Property Value
    Type Description
    TaskAttributeMapping

    The task attribute mapping.

    TaskNodeBackground

    Gets or sets the task node background.

    Declaration
    public Brush TaskNodeBackground { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The System.Windows.Media.Brush value.

    ToolTipTemplate

    Gets or sets the tool tip template.

    Declaration
    public DataTemplate ToolTipTemplate { get; set; }
    Property Value
    Type Description
    System.Windows.DataTemplate

    The tool tip template.

    UseAutoUpdateHierarchy

    Gets or sets a value indicating whether [use auto update hierarchy].

    Declaration
    public bool UseAutoUpdateHierarchy { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [use auto update hierarchy]; otherwise, false.

    UseOnDemandSchedule

    Gets or sets a value indicating whether [use on demand schedule].

    Declaration
    public bool UseOnDemandSchedule { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [use on demand schedule]; otherwise, false.

    ValidationMode

    Gets or Sets validation mode.

    Declaration
    public Mode ValidationMode { get; set; }
    Property Value
    Type Description
    Mode

    The validation mode.

    VisualStyle

    Gets or sets the visual style.

    Declaration
    public VisualStyle VisualStyle { get; set; }
    Property Value
    Type Description
    VisualStyle

    The visual style.

    WeekBeginsOn

    Gets or sets the week begins on.

    Declaration
    public DayOfWeek WeekBeginsOn { get; set; }
    Property Value
    Type Description
    System.DayOfWeek

    The week begins on.

    Weekends

    Gets or sets enum values which are weekends

    Declaration
    public Days Weekends { get; set; }
    Property Value
    Type Description
    Days

    The value of type Days

    ZoomFactor

    Gets or sets the zoom factor.

    Declaration
    public double ZoomFactor { get; set; }
    Property Value
    Type Description
    System.Double

    The zoom factor.

    Methods

    ExportToXML()

    Exports to XML.

    Declaration
    public bool ExportToXML()
    Returns
    Type Description
    System.Boolean

    ExportToXML(String)

    Exports to XML.

    Declaration
    public bool ExportToXML(string FilePath)
    Parameters
    Type Name Description
    System.String FilePath

    The file path.

    Returns
    Type Description
    System.Boolean

    GetProjectStatistics()

    Gets the Project Statistics Information

    Declaration
    public ProjectInfo GetProjectStatistics()
    Returns
    Type Description
    ProjectInfo

    ProjectInfo Object

    ImportFromXML()

    Imports from XML.

    Declaration
    public bool ImportFromXML()
    Returns
    Type Description
    System.Boolean

    ImportFromXML(String)

    Imports from XML.

    Declaration
    public bool ImportFromXML(string FilePath)
    Parameters
    Type Name Description
    System.String FilePath

    The file path.

    Returns
    Type Description
    System.Boolean

    LoadDefaultTableView()

    Invokes the DefaultTableView method in Grid

    Declaration
    public void LoadDefaultTableView()

    LoadVarianceTableView()

    Invokes the LoadVarianceTableView method in Grid

    Declaration
    public void LoadVarianceTableView()

    OnApplyTemplate()

    Method gets called when the default style key template is applied.

    Declaration
    public override void OnApplyTemplate()

    OnFiscalYearPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Called when FiscalYearStartsIn Property Changed

    Declaration
    public static void OnFiscalYearPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyObject sender

    The Sender

    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data.

    OnInitialized(EventArgs)

    Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.

    Declaration
    protected override void OnInitialized(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    The System.Windows.RoutedEventArgs that contains the event data.

    OnScheduleTypeChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Called when [schedule type changed].

    Declaration
    public static void OnScheduleTypeChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyObject sender

    The sender.

    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data.

    OnWeekBeginsOnChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Called When WeekBeginsOn Changed

    Declaration
    public static void OnWeekBeginsOnChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyObject sender

    The Sender

    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgsinstance containing event data.

    ScrollGanttChartTo(DateTime)

    Scrolls the Gantt Chart to the specified Date.

    Declaration
    public bool ScrollGanttChartTo(DateTime date)
    Parameters
    Type Name Description
    System.DateTime date

    The date.

    Returns
    Type Description
    System.Boolean

    ScrollGanttChartTo(Double)

    Scrolls the Gantt Chart to the specified point.

    Declaration
    public bool ScrollGanttChartTo(double point)
    Parameters
    Type Name Description
    System.Double point

    The pixel.

    Returns
    Type Description
    System.Boolean

    Events

    ItemsSourceChanged

    Occurs when [items source changed].

    Declaration
    public event DependencyPropertyChangedEventHandler ItemsSourceChanged
    Event Type
    Type Description
    System.Windows.DependencyPropertyChangedEventHandler

    NodeCreated

    Occurs when [node created].

    Declaration
    public event NodeCreatedEventHandler NodeCreated
    Event Type
    Type Description
    NodeCreatedEventHandler

    NodeDragCompleted

    Occurs when [node drag completed].

    Declaration
    public event NodeDragAndDropEventHandler NodeDragCompleted
    Event Type
    Type Description
    NodeDragAndDropEventHandler

    NodeDragDelta

    Occurs when [node drag delta].

    Declaration
    public event NodeDragAndDropEventHandler NodeDragDelta
    Event Type
    Type Description
    NodeDragAndDropEventHandler

    NodeResizingCompleted

    Occurs when [node resizing completed].

    Declaration
    public event NodeResizingEventHandeler NodeResizingCompleted
    Event Type
    Type Description
    NodeResizingEventHandeler

    NodeResizingDelta

    Occurs when [node resizing delta].

    Declaration
    public event NodeResizingEventHandeler NodeResizingDelta
    Event Type
    Type Description
    NodeResizingEventHandeler

    ProgressResizing

    Occurs when resizing the progress.

    Declaration
    public event EventHandler<ProgressResizingEventArgs> ProgressResizing
    Event Type
    Type Description
    System.EventHandler<ProgressResizingEventArgs>

    ProgressResizingCompleted

    Occurs when progress resizing is completed.

    Declaration
    public event EventHandler<ProgressResizingCompletedEventArgs> ProgressResizingCompleted
    Event Type
    Type Description
    System.EventHandler<ProgressResizingCompletedEventArgs>

    RelationshipEstablished

    Occurs when relationship is established.

    Declaration
    public event EventHandler<GanttRelationshipEstablishedEventArgs> RelationshipEstablished
    Event Type
    Type Description
    System.EventHandler<GanttRelationshipEstablishedEventArgs>

    ResourceContainerCreated

    Occurs when [resource container created].

    Declaration
    public event ResourceContainerCreatedEventHandler ResourceContainerCreated
    Event Type
    Type Description
    ResourceContainerCreatedEventHandler

    ScheduleCellCreated

    Occurs when [schedule cell created].

    Declaration
    public event ScheduleCellCreatedEventHandler ScheduleCellCreated
    Event Type
    Type Description
    ScheduleCellCreatedEventHandler

    StripLineCreated

    Occurs when [strip line created].

    Declaration
    public event StriplineCreatedEventHandler StripLineCreated
    Event Type
    Type Description
    StriplineCreatedEventHandler

    TemplateApplied

    Occurs when [template applied].

    Declaration
    public event TemplateAppliedEventHandler TemplateApplied
    Event Type
    Type Description
    TemplateAppliedEventHandler

    ZoomChanged

    Occurs when [zoom changed].

    Declaration
    public event ZoomChangedEventHandler ZoomChanged
    Event Type
    Type Description
    ZoomChangedEventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved