SizerBase.IsValidWidth(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 horizontal size is valid or not
protected static bool IsValidWidth(Microsoft.UI.Xaml.FrameworkElement target, double newWidth, double parentActualWidth);
static member IsValidWidth : Microsoft.UI.Xaml.FrameworkElement * double * double -> bool
Protected Shared Function IsValidWidth (target As FrameworkElement, newWidth As Double, parentActualWidth As Double) As Boolean
Parameters
- target
- Microsoft.UI.Xaml.FrameworkElement
Target control being resized
- newWidth
- Double
The requested new width
- parentActualWidth
- Double
The parent control's ActualWidth
Returns
Bool result if requested horizontal change is valid or not