Class GanttGrid
Represents a control that can display the project information in table format.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Controls.Gantt
Assembly: Syncfusion.Gantt.Wpf.dll
Syntax
public class GanttGrid : SfTreeGrid, 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 |
---|
System.Windows.DependencyProperty |
HeaderForegroundProperty
The DependencyProperty for HeaderForeground property.
Declaration
public static readonly DependencyProperty HeaderForegroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShowAddNewColumnProperty
Gets or sets the ShowAddnewColumn property The DependencyProperty for ShowAddNewColumn property.
Declaration
public static readonly DependencyProperty ShowAddNewColumnProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShowDateWithTimeProperty
The DependencyProperty for ShowDateWithTime property.
Declaration
public static readonly DependencyProperty ShowDateWithTimeProperty
Field Value
Type |
---|
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(TreeNode)
Collapse all passed-in node as well as child nodes of the passed-in node.
Declaration
public void CollapseAllNodes(TreeNode treeNode)
Parameters
Type | Name | Description |
---|---|---|
TreeNode | treeNode | The node to be collapsed. |
ExpandAllNodes()
Method to expand all nodes.
Declaration
public void ExpandAllNodes()
ExpandAllNodes(TreeNode)
Expands the given node and all of its child nodes.
Declaration
public void ExpandAllNodes(TreeNode treeNode)
Parameters
Type | Name | Description |
---|---|---|
TreeNode | treeNode | The node to be expanded. |
OnApplyTemplate()
Called when [apply template].
Declaration
public override void OnApplyTemplate()
Overrides
Events
ChildPropertyNameChanged
This event is deprecated. The GridTreeControl has been replaced by the SfTreeGrid in the Gantt control.
Declaration
public event EventHandler<RoutedEventArgs> ChildPropertyNameChanged
Event Type
Type |
---|
System.EventHandler<System.Windows.RoutedEventArgs> |
CreatingTreeNode
This event is deprecated. The GridTreeControl has been replaced by the SfTreeGrid in the Gantt control.
Declaration
public event EventHandler<GridTreeCreatingNodeEventArgs> CreatingTreeNode
Event Type
Type |
---|
System.EventHandler<GridTreeCreatingNodeEventArgs> |
NodesPopulated
This event is deprecated. The GridTreeControl has been replaced by the SfTreeGrid in the Gantt control.
Declaration
public event EventHandler NodesPopulated
Event Type
Type |
---|
System.EventHandler |
ParentPropertyNameChanged
This event is deprecated. The GridTreeControl has been replaced by the SfTreeGrid in the Gantt control.
Declaration
public event EventHandler<RoutedEventArgs> ParentPropertyNameChanged
Event Type
Type |
---|
System.EventHandler<System.Windows.RoutedEventArgs> |
RequestNodeImage
This event is deprecated. The GridTreeControl has been replaced by the SfTreeGrid in the Gantt control.
Declaration
public event EventHandler<GridTreeRequestNodeImageEventArgs> RequestNodeImage
Event Type
Type |
---|
System.EventHandler<GridTreeRequestNodeImageEventArgs> |