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