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