TextBoxRegex.GetValidationType(TextBox) 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.
Gets the value of the TextBoxRegex.ValidationType XAML attached property from the specified TextBox.
public static Microsoft.Toolkit.Uwp.UI.Extensions.TextBoxRegex.ValidationType GetValidationType (Windows.UI.Xaml.Controls.TextBox textBox);
static member GetValidationType : Windows.UI.Xaml.Controls.TextBox -> Microsoft.Toolkit.Uwp.UI.Extensions.TextBoxRegex.ValidationType
Public Shared Function GetValidationType (textBox As TextBox) As TextBoxRegex.ValidationType
Parameters
- textBox
- Windows.UI.Xaml.Controls.TextBox
TextBox to get TextBoxRegex.ValidationType from.
Returns
TextBox TextBoxRegex.ValidationType Value