Show / Hide Table of Contents

Class TextBoxIntMaskingBehavior

see cref="Behavior"/> for masking a TextBox to allow only entering of int values.

Inheritance
object
DispatcherObject
DependencyObject
Freezable
Animatable
Behavior
Behavior<TextBox>
TextBoxMaskingBehaviorBase
TextBoxIntMaskingBehavior
Implements
IAnimatable
IAttachedObject
TextBoxMaskingBehaviorBase.IsTextBoxClearingAllowed
TextBoxMaskingBehaviorBase.IsTextBoxClearingAllowedProperty
TextBoxMaskingBehaviorBase.OnAttached()
TextBoxMaskingBehaviorBase.OnDetaching()
Behavior<TextBox>.AssociatedObject
Behavior.CreateInstanceCore()
Behavior.Attach(DependencyObject)
Behavior.Detach()
Behavior.AssociatedType
Animatable.ApplyAnimationClock(DependencyProperty, AnimationClock)
Animatable.ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior)
Animatable.BeginAnimation(DependencyProperty, AnimationTimeline)
Animatable.BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)
Animatable.Clone()
Animatable.FreezeCore(bool)
Animatable.GetAnimationBaseValue(DependencyProperty)
Animatable.HasAnimatedProperties
Freezable.CloneCore(Freezable)
Freezable.CloneCurrentValue()
Freezable.CloneCurrentValueCore(Freezable)
Freezable.CreateInstance()
Freezable.Freeze()
Freezable.Freeze(Freezable, bool)
Freezable.GetAsFrozen()
Freezable.GetAsFrozenCore(Freezable)
Freezable.GetCurrentValueAsFrozen()
Freezable.GetCurrentValueAsFrozenCore(Freezable)
Freezable.OnChanged()
Freezable.OnFreezablePropertyChanged(DependencyObject, DependencyObject)
Freezable.OnFreezablePropertyChanged(DependencyObject, DependencyObject, DependencyProperty)
Freezable.OnPropertyChanged(DependencyPropertyChangedEventArgs)
Freezable.ReadPreamble()
Freezable.WritePostscript()
Freezable.WritePreamble()
Freezable.CanFreeze
Freezable.IsFrozen
Freezable.Changed
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Equals(object)
DependencyObject.GetHashCode()
DependencyObject.GetLocalValueEnumerator()
DependencyObject.GetValue(DependencyProperty)
DependencyObject.InvalidateProperty(DependencyProperty)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, object)
DependencyObject.SetValue(DependencyProperty, object)
DependencyObject.SetValue(DependencyPropertyKey, object)
DependencyObject.ShouldSerializeProperty(DependencyProperty)
DependencyObject.DependencyObjectType
DependencyObject.IsSealed
DispatcherObject.Dispatcher
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Sartorius.SAF.Presentation.Behaviors
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class TextBoxIntMaskingBehavior : TextBoxMaskingBehaviorBase, IAnimatable, IAttachedObject

Fields

View Source

MaximumProperty

Identifies the DependencyProperty for the Maximum property.

Declaration
public static readonly DependencyProperty MaximumProperty
Field Value
Type Description
DependencyProperty
View Source

MaximunProperty

The dependencyProperty for the Property Maximum

Declaration
public static readonly DependencyProperty MaximunProperty
Field Value
Type Description
DependencyProperty
View Source

MinimumProperty

The DependencyProperty for the Property Minimum

Declaration
public static readonly DependencyProperty MinimumProperty
Field Value
Type Description
DependencyProperty

Properties

View Source

Maximum

Gets or sets the maximum value the associated Text is allowed to represent.

Declaration
public int? Maximum { get; set; }
Property Value
Type Description
int?
View Source

Minimum

Gets or sets the minimum value the associated Text is allowed to represent.

Declaration
public int? Minimum { get; set; }
Property Value
Type Description
int?

Methods

View Source

IsValid(string)

Checks whether 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
TextBoxMaskingBehaviorBase.IsValid(string)

Implements

IAnimatable
Microsoft.Xaml.Behaviors.IAttachedObject

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
DependencyObjectExtensions.XamlClone<T>(T)
DependencyObjectExtensions.FindAncestor<T>(DependencyObject)
DependencyObjectExtensions.FindFirstChildByType<T>(DependencyObject)
DependencyObjectExtensions.FindLogicalAncestor<T>(DependencyObject)
DependencyObjectExtensions.GetChildrenByType<T>(DependencyObject)
DependencyObjectExtensions.GetContainer(DependencyObject)
DependencyObjectExtensions.SetContainer(DependencyObject, CompositionContainer)
  • View Source
Back to top Generated by DocFX