Class TextBoxHexMaskingBehavior
see cref="Behavior"/> for masking a TextBox to allow only entering of hexadecimal values.
Behavior<TextBox>.AssociatedObject
Behavior.CreateInstanceCore()
Behavior.Detach()
Behavior.AssociatedType
Namespace: Sartorius.SAF.Presentation.Behaviors
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class TextBoxHexMaskingBehavior : TextBoxMaskingBehaviorBase, IAnimatable, IAttachedObject
Methods
View SourceIsValid(string)
Checks wether the valueToValidate matches the pattern to be valid.
Declaration
public override bool IsValid(string valueToValidate)
Parameters
| Type | Name | Description |
|---|---|---|
| string | valueToValidate | The value for validation. |
Returns
| Type | Description |
|---|---|
| bool | True if the value is valid, otherwise false. |
Overrides
Implements
Microsoft.Xaml.Behaviors.IAttachedObject