Search Results for

    Show / Hide Table of Contents

    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

    Declaration
    public static readonly DependencyProperty IsEnabledProperty
    Field Value
    Type Description
    DependencyProperty

    Methods

    GetIsEnabled(Control)

    Declaration
    public static bool GetIsEnabled(Control o)
    Parameters
    Type Name Description
    Control o
    Returns
    Type Description
    bool

    SetIsEnabled(Control, bool)

    Declaration
    public static void SetIsEnabled(Control o, bool value)
    Parameters
    Type Name Description
    Control o
    bool value
    In this article
    • Fields
      • IsEnabledProperty
    • Methods
      • GetIsEnabled(Control)
      • SetIsEnabled(Control, bool)
    Back to top Generated by DocFX