- I
Remarks
By default, adjacent stripes are moved. To redistribute the space instead, use resizeNeighborsRecognizer. Also, by default the content of the stripes is either moved or constrains the minimum available sizes for the stripe resize operations. To completely ignore all content nodes, use ignoreContentRecognizer.
This mode is exclusive by default.
See Also
Developer's Guide
Members
Constructors
Properties
Gets or sets the event recognizer that determines whether to start resizing the stripe.
Property Value
Gets or sets the event recognizer that determines whether to cancel the resize operation.
Property Value
Gets or sets the cursor to use when a column cannot be resized to current mouse position.
Gets or sets the cursor to use while resizing columns.
Gets or sets the cursor to use while hovering over the border of a column that may be resized.
Gets the installed controller.
The value of this property will be delegated to the exclusive property of the controller.
If this mode is marked as exclusive and has the mutex, all other modes added to the same MultiplexingInputMode will be deactivated. Otherwise, it will always run concurrently with all other modes.
Gets or sets the event recognizer that determines whether to finish resizing the stripe.
Property Value
Gets or sets the event recognizer that determines whether to ignore the content of all stripes instead of moving them or considering for minimum sizes.
If this recognizer recognizes its gesture, the behavior will be to completely ignore all stripe contents.
The default detects the current platform and delegates either to META_IS_DOWN (macOS) or CTRL_IS_DOWN (other platforms).
Property Value
Retrieves the IInputModeContext this mode has been installed in.
null if this mode is currently not installed. Use createInputModeContext to obtain a context that has this IInputMode as the inputMode.Implements
IInputMode.priorityGets or sets the event recognizer that determines whether to resize adjacent stripes instead of moving them.
Gets or sets the event recognizer that determines whether to change the stripe size.
Gets or sets the cursor to use when a row cannot be resized to current mouse position.
Gets or sets the cursor to use while resizing rows.
Gets or sets the cursor to use while hovering over the border of a row that may be resized.
Methods
See Also
API
- onCanceled
Implements
IInputMode.cancelCreates an implementation of IInputModeContext that is specific to this mode.
This is needed for events that are triggered by this InputMode to signal where the event is coming from. A common usage for this is, for example, in isHit calls.
The result can be given to isHit or enumerateHits to let implementations of IHitTestable get access to the current IInputModeContext. This can be done by looking up IInputModeContext from the ICanvasContext's lookup method or simply downcasting.
Return Value
- IInputModeContext
- A readily configured IInputModeContext.
See Also
Installs this mode into the given context that is provided by the canvas.
In general a mode can only be installed into a single canvas at all times.
This method is called to initialize this instance. Subclasses should override this method to register the corresponding event handler delegates for the various input events they need to register with.
Overriding implementations should call the base implementation first.
Parameters
- context: IInputModeContext
- The context that this instance shall be installed into. The same instance will be passed to this instance during uninstall. A reference to the context may be kept and queried during the time the mode is installed.
- controller: ConcurrencyController
- The controller for this mode.
See Also
API
- uninstall
Implements
IInputMode.installCalled to determine whether it is valid to begin the gesture.
Parameters
- location: Point
- The event location to check.
Return Value
- boolean
- true iff a stripe border has been hit at the latest PointerEventArgs
Called after cancel has been called.
Can be overridden in subclasses to perform additional actions after the mode has been canceled.
This implementation does nothing.
Can be overridden in subclasses to perform additional actions after the mode has been activated.
Overriding implementations should call the base implementation.
Can be overridden in subclasses to perform additional actions after the mode has been deactivated.
Overriding implementations should call the base implementation.
Triggers the drag-canceled event.
Triggers the drag-canceling event.
Called once the drag has been finalized.
Parameters
- evt: InputModeEventArgs
- The event argument that contains context information.
Called before the drag will be finalized.
Parameters
- evt: InputModeEventArgs
- The event argument that contains context information.
Called at the end of each drag.
Parameters
- evt: InputModeEventArgs
- The event argument that contains context information.
Called at the start of each drag.
Parameters
- evt: InputModeEventArgs
- The event argument that contains context information.
Triggers the drag-started event.
Triggers the drag-starting event.
Called after tryStop has been called.
Can be overridden in subclasses to perform additional actions after the mode has been stopped.
This implementation does nothing.
falseReturn Value
- boolean
trueif and only if the editing has been stopped or there was no edit in progress
Implements
IInputMode.tryStopUninstalls this mode from the given context.
This code should clean up all changes made to the canvas in the install method. After a mode has been uninstalled it can be installed again into the same or another canvas.
Overriding implementations should call the base implementation after their own code.
Parameters
- context: IInputModeContext
- The context to deregister from. This is the same instance that had been passed to install during installation.
Implements
IInputMode.uninstallEvents
Occurs when the drag has been canceled.
Properties of
InputModeEventArgs- context: IInputModeContext
- Gets the context for the current event.
Occurs before the drag will be canceled.
Properties of
InputModeEventArgs- context: IInputModeContext
- Gets the context for the current event.
Occurs once the drag has been finished.
Properties of
InputModeEventArgs- context: IInputModeContext
- Gets the context for the current event.
Occurs before the drag will be finished.
Properties of
InputModeEventArgs- context: IInputModeContext
- Gets the context for the current event.
Occurs once the drag is initialized and has started.
Properties of
InputModeEventArgs- context: IInputModeContext
- Gets the context for the current event.
Occurs once the drag is starting.
Properties of
InputModeEventArgs- context: IInputModeContext
- Gets the context for the current event.
Occurs at the end of every drag.
Properties of
InputModeEventArgs- context: IInputModeContext
- Gets the context for the current event.
Occurs at the start of every drag.
Properties of
InputModeEventArgs- context: IInputModeContext
- Gets the context for the current event.