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