Class GanttControlResourceContainerCreatedCommandBehavior<TReturn>
Provides the behavior for the GanttControl resource container created command.
Inheritance
System.Object
GanttControlResourceContainerCreatedCommandBehavior<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 GanttControlResourceContainerCreatedCommandBehavior<TReturn> : GanttControlCommandBehaviorBase<TReturn, ResourceContainerCreatedEventArgs>
Type Parameters
| Name | Description |
|---|---|
| TReturn | The type of the return value. |
Constructors
GanttControlResourceContainerCreatedCommandBehavior()
Initializes a new instance of the GanttControlResourceContainerCreatedCommandBehavior<TReturn> class with default parameters.
Declaration
public GanttControlResourceContainerCreatedCommandBehavior()
GanttControlResourceContainerCreatedCommandBehavior(Func<Object, ResourceContainerCreatedEventArgs, TReturn>)
Initializes a new instance of the GanttControlResourceContainerCreatedCommandBehavior<TReturn> class.
Declaration
public GanttControlResourceContainerCreatedCommandBehavior(Func<object, ResourceContainerCreatedEventArgs, TReturn> builder)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Func<System.Object, ResourceContainerCreatedEventArgs, TReturn> | builder | The builder function for the command behavior. |
Methods
OnTargetAttached()
Attaches the target object and subscribes to the ResourceContainerCreated event of the GanttControl.
Declaration
protected override void OnTargetAttached()
Overrides
Syncfusion.Windows.Shared.CommandBehaviorBase<Syncfusion.Windows.Controls.Gantt.GanttControl>.OnTargetAttached()