Volume Control
Application-specific hotkeys for Windows
VolumeControl.WPF.Behaviors.TextBoxInputFilterBehavior Class Reference

TextBox behavior that uses regular expressions to only allow certain types of input. More...

Inheritance diagram for VolumeControl.WPF.Behaviors.TextBoxInputFilterBehavior:
Collaboration diagram for VolumeControl.WPF.Behaviors.TextBoxInputFilterBehavior:

Protected Member Functions

override void OnAttached ()
 
override void OnDetaching ()
 

Properties

string??? Regex [get, set]
 Gets or sets the regular expression used to determine whether a text input is valid or not. More...
 

Detailed Description

TextBox behavior that uses regular expressions to only allow certain types of input.

Property Documentation

◆ Regex

string??? VolumeControl.WPF.Behaviors.TextBoxInputFilterBehavior.Regex
getset

Gets or sets the regular expression used to determine whether a text input is valid or not.

If the text input does NOT match the regular expression, it is not allowed.


The documentation for this class was generated from the following file: