Class NumberOnlyBehaviour
Behavior for the NumericTextBox control - prevents users from inputting characters that are not digits
Inheritance
Object
NumberOnlyBehaviour
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.Desktop.Platform.Controls.Behaviours
Assembly: Sdl.Desktop.Platform.Controls.dll
Syntax
public static class NumberOnlyBehaviour
Fields
IsEnabledProperty
Behavior for the NumericTextBox control - prevents users from inputting characters that are not digits
Declaration
public static readonly DependencyProperty IsEnabledProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Methods
GetIsEnabled(Control)
Behavior for the NumericTextBox control - prevents users from inputting characters that are not digits
Declaration
public static bool GetIsEnabled(Control o)
Parameters
Type | Name | Description |
---|---|---|
Control | o |
Returns
Type | Description |
---|---|
Boolean |
SetIsEnabled(Control, Boolean)
Behavior for the NumericTextBox control - prevents users from inputting characters that are not digits
Declaration
public static void SetIsEnabled(Control o, bool value)
Parameters
Type | Name | Description |
---|---|---|
Control | o | |
Boolean | value |