menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GanttNode - API Reference

    Show / Hide Table of Contents

    Class GanttNode

    Represents a control that can display the duration of a task in Gantt Chart.

    Inheritance
    System.Object
    GanttNode
    HeaderNode
    MileStone
    Implements
    System.IDisposable
    Namespace: Syncfusion.Windows.Controls.Gantt.Chart
    Assembly: Syncfusion.Gantt.Wpf.dll
    Syntax
    public class GanttNode : ContentControl, IDisposable

    Constructors

    GanttNode()

    Initializes a new instance of the GanttNode class.

    Declaration
    public GanttNode()

    Fields

    EndPointProperty

    The DependencyProperty for EndPoint property.

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

    EndTimeProperty

    The DependencyProperty for EndTime property.

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

    IsMileStoneProperty

    The DependencyProperty for IsMileStone property.

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

    ProgressIndicatorBackgroundProperty

    The DependencyProperty for ProgressIndicatorBackground property.

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

    ProgressProperty

    The DependencyProperty for Progress property.

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

    ProgressWidthProperty

    The DependencyProperty for ProgressWidth property.

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

    StartPointProperty

    The DependencyProperty for StartPoint property.

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

    StartTimeProperty

    The DependencyProperty for StartTime property.

    Declaration
    public static readonly DependencyProperty StartTimeProperty
    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

    Properties

    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.

    IsMileStone

    Gets or sets a value indicating whether this instance is mile stone.

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

    true if this instance is mile stone; otherwise, false.

    Progress

    Gets or sets the progress.

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

    The progress.

    ProgressIndicatorBackground

    Gets or sets the progress indicator background.

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

    The System.Windows.Media.Brush value.

    ProgressWidth

    Gets or sets the width of the progress.

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

    The width of the progress.

    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 date time value for the start time.

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

    ToolTipTemplate

    Gets or sets the data template for the tooltip.

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

    X1

    Gets or sets the x1.

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

    The x1.

    X2

    Gets or sets the x2.

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

    The x2.

    Methods

    ArrangeOverride(Size)

    Override method gets called framework arrange override.

    Declaration
    protected override Size ArrangeOverride(Size finalSize)
    Parameters
    Type Name Description
    System.Windows.Size finalSize
    Returns
    Type Description
    System.Windows.Size

    Dispose()

    Methpd gets called to dispose the base.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Method gets called to dispose objects.

    Declaration
    public virtual void Dispose(bool flag)
    Parameters
    Type Name Description
    System.Boolean flag

    The bool value.

    OnApplyTemplate()

    When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

    Declaration
    public override void OnApplyTemplate()

    OnEndTimeChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Method gets called on the end time property gets changed.

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

    The gantt node.

    System.Windows.DependencyPropertyChangedEventArgs args

    The argument.

    OnIsMileStoneChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Method gets called on the is mile stone property gets changed.

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

    The gantt node.

    System.Windows.DependencyPropertyChangedEventArgs args

    The argument.

    OnProgressChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Method gets called on the progress property gets changed.

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

    The gantt node.

    System.Windows.DependencyPropertyChangedEventArgs args

    The argument.

    OnStartTimeChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Method gets called when the start time property gets changed.

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

    The gantt nodes.

    System.Windows.DependencyPropertyChangedEventArgs args

    The arguments.

    Implements

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