SizerBase.OnDragVertical(Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Method to process the requested vertical resize.
protected abstract bool OnDragVertical(double verticalChange);
abstract member OnDragVertical : double -> bool
Protected MustOverride Function OnDragVertical (verticalChange As Double) As Boolean
Parameters
- verticalChange
- Double
The Microsoft.UI.Xaml.Input.ManipulationDeltaRoutedEventArgs.Cumulative vertical change amount from the start in device-independent pixels DIP.
Returns
Boolean indicates if a change was made
Remarks
The value provided here is the cumulative change from the beginning of the manipulation. This method will be used regardless of input device. It will also already account for any settings such as DragIncrement or KeyboardIncrement. The implementer just needs to use the provided value to manipulate their baseline stored in OnDragStarting() to provide the desired change.