TextBoxRegex.GetRegex(TextBox) Method

Definition

Gets the value of the TextBoxRegex.Regex XAML attached property from the specified TextBox.

public static string GetRegex (Windows.UI.Xaml.Controls.TextBox textBox);
static member GetRegex : Windows.UI.Xaml.Controls.TextBox -> string
Public Shared Function GetRegex (textBox As TextBox) As String

Parameters

textBox
Windows.UI.Xaml.Controls.TextBox

TextBox to get Regex property from.

Returns

The regular expression assigned to the TextBox

Applies to