Class GanttGrid
Represents a control that can display the project infromation in table format.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Controls.Gantt.Grid
Assembly: Syncfusion.Gantt.Wpf.dll
Syntax
public class GanttGrid : GridTreeControl, IDisposable
Constructors
GanttGrid()
Initializes a new instance of the GanttGrid class.
Declaration
public GanttGrid()
Fields
HeaderBackgroundProperty
The DependencyProperty for HeaderBackground property.
Declaration
public static readonly DependencyProperty HeaderBackgroundProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
HeaderForegroundProperty
The DependencyProperty for HeaderForeground property.
Declaration
public static readonly DependencyProperty HeaderForegroundProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
ShowAddNewColumnProperty
Gets or sets the ShowAddnewColumn property The DependencyProperty for ShowAddNewColumn property.
Declaration
public static readonly DependencyProperty ShowAddNewColumnProperty
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 |
Properties
GanttModel
Gets the gantt model.
Declaration
public GanttModel GanttModel { get; }
Property Value
Type | Description |
---|---|
GanttModel | The gantt model. |
HeaderBackground
Gets or sets the header background.
Declaration
public Brush HeaderBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The System.Windows.Media.Brush value. |
HeaderForeground
Gets or sets the header foreground.
Declaration
public Brush HeaderForeground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The System.Windows.Media.Brush value. |
ShowAddNewColumn
Gets or sets a value indicating whether [show add new column].
Declaration
public bool ShowAddNewColumn { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ShowDateWithTime
Gets or sets a value indicating whether [show date with time].
Declaration
public bool ShowDateWithTime { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
CollapseAllNodes()
Collapses all expanded nodes.
Declaration
public void CollapseAllNodes()
CollapseAllNodes(GridTreeNode)
Collapse all passed-in node as well as child nodes of the passed-in node.
Declaration
public void CollapseAllNodes(GridTreeNode n)
Parameters
Type | Name | Description |
---|---|---|
GridTreeNode | n | The node to be collapsed. |
ExpandAllNodes()
Expand all nodes.
Declaration
public void ExpandAllNodes()
ExpandAllNodes(GridTreeNode)
Expands the given node and all of its child nodes.
Declaration
public void ExpandAllNodes(GridTreeNode n)
Parameters
Type | Name | Description |
---|---|---|
GridTreeNode | n | The node to be expanded. |
OnApplyTemplate()
Called when [apply template].
Declaration
public override void OnApplyTemplate()
Overrides
OnMouseMove(MouseEventArgs)
Method gets called when the mouse gets moved.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | The mouse event arguments. |
OnNodesSorted()
Method gets called on node sorted.
Declaration
protected override void OnNodesSorted()