SizerBase.IsValidHeight(FrameworkElement, Double, 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.
Check for new requested vertical size is valid or not
protected static bool IsValidHeight(Microsoft.UI.Xaml.FrameworkElement target, double newHeight, double parentActualHeight);
static member IsValidHeight : Microsoft.UI.Xaml.FrameworkElement * double * double -> bool
Protected Shared Function IsValidHeight (target As FrameworkElement, newHeight As Double, parentActualHeight As Double) As Boolean
Parameters
- target
- Microsoft.UI.Xaml.FrameworkElement
Target control being resized
- newHeight
- Double
The requested new height
- parentActualHeight
- Double
The parent control's ActualHeight
Returns
Bool result if requested vertical change is valid or not