TextBoxExtensions.SetValidationMode 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.
Sets the value of the TextBoxRegex.ValidationMode XAML attached property for a target TextBox.
public static void SetValidationMode(Windows.UI.Xaml.Controls.TextBox textBox, Microsoft.Toolkit.Uwp.UI.TextBoxExtensions.ValidationMode value);
static member SetValidationMode : Windows.UI.Xaml.Controls.TextBox * Microsoft.Toolkit.Uwp.UI.TextBoxExtensions.ValidationMode -> unit
Public Shared Sub SetValidationMode (textBox As TextBox, value As TextBoxExtensions.ValidationMode)
Parameters
- textBox
- Windows.UI.Xaml.Controls.TextBox
TextBox to set the TextBoxExtensions.ValidationMode on.
TextBox TextBoxExtensions.ValidationMode value