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