FilteredTextBox.CharacterFilter Property
A .NET regular expression for filtering out unwanted characters.
Therefore, for example, you could allow for 0-9 with the following expresssion : @"\\d"
Namespace: Microsoft.TeamFoundation.Controls.WPF
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Property CharacterFilter As String
public string CharacterFilter { get; set; }
public:
property String^ CharacterFilter {
String^ get ();
void set (String^ value);
}
member CharacterFilter : string with get, set
function get CharacterFilter () : String
function set CharacterFilter (value : String)
Property Value
Type: System.String
Returns String.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.