Language
Edit

SizerBase.IsValidHeight(FrameworkElement, Double, Double) Method

Definition

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

Applies to