TextBoxRegex.SetValidationType(TextBox, TextBoxRegex+ValidationType) 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.Extensions.TextBoxRegex.ValidationType value);
static member SetValidationType : Windows.UI.Xaml.Controls.TextBox * Microsoft.Toolkit.Uwp.UI.Extensions.TextBoxRegex.ValidationType -> unit
Public Shared Sub SetValidationType (textBox As TextBox, value As TextBoxRegex.ValidationType)
Parameters
- textBox
- Windows.UI.Xaml.Controls.TextBox
TextBox to set the TextBoxRegex.ValidationType on.
TextBox TextBoxRegex.ValidationType value