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