Class GanttGridNodeCollapsingCommandBehavior<TReturn>
Provides the behavior for the GanttGrid node collapsing command.
Inheritance
System.Object
GanttGridNodeCollapsingCommandBehavior<TReturn>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Controls.Gantt.MVVM
Assembly: Syncfusion.Gantt.MVVM.Wpf.dll
Syntax
public class GanttGridNodeCollapsingCommandBehavior<TReturn> : GanttControlCommandBehaviorBase<TReturn, NodeCollapsingEventArgs>
Type Parameters
| Name | Description |
|---|---|
| TReturn | The type of the return value. |
Constructors
GanttGridNodeCollapsingCommandBehavior()
Initializes a new instance of the GanttGridNodeCollapsingCommandBehavior<TReturn> class with default parameters.
Declaration
public GanttGridNodeCollapsingCommandBehavior()
GanttGridNodeCollapsingCommandBehavior(Func<Object, NodeCollapsingEventArgs, TReturn>)
Initializes a new instance of the GanttGridNodeCollapsingCommandBehavior<TReturn> class.
Declaration
public GanttGridNodeCollapsingCommandBehavior(Func<object, NodeCollapsingEventArgs, TReturn> builder)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Func<System.Object, NodeCollapsingEventArgs, TReturn> | builder | The builder function for the command behavior. |
Methods
OnTargetAttached()
Attaches the target object and subscribes to the NodeCollapsing event of the GanttGrid.
Declaration
protected override void OnTargetAttached()
Overrides
Syncfusion.Windows.Shared.CommandBehaviorBase<Syncfusion.Windows.Controls.Gantt.GanttControl>.OnTargetAttached()