[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberDecimalPartField

NumberDecimalPartField Class

Represents NumberDecimalPartField class which displays decimal part for GrapeCity.Windows.InputMan.GcNumber.

Inheritance
NumberDecimalPartField
Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
public class NumberDecimalPartField : NumberField, IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, ISupportInitialize, ISpinable
Public Class NumberDecimalPartField
    Inherits NumberField
    Implements IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, ISupportInitialize, ISpinable
Remarks

Supported VisualState list:

VisualStateGroup Name

VisualState Name

Description

CommonStates

Normal

Represents the visual appearance when control is in normal state.

CommonStates

Disabled

Represents the visual appearance when IsEnabled is false.

CommonStates

MouseOver

Represents the visual appearance when IsMouseOver is true.

ActiveStates

Active

Represents the visual appearance when IsActive is true.

ActiveStates

Inactive

Represents the visual appearance when IsActive is false.

InputStates

Full

Represents the visual appearance when IsFull is true.

InputStates

Completed

Represents the visual appearance when IsCompleted is true.

InputStates

Empty

Represents the visual appearance when IsEmpty is true.

InputStates

Part

Represents the visual appearance when IsFull, IsCompleted and IsEmpty all are false.

ValidationStates

Valid

Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns false.

ValidationStates

InvalidFocused

Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns true and control has focus.

ValidationStates

InvalidUnfocused

Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns true and control has no focus.

Constructors

Name Description
NumberDecimalPartField()

Initializes a new instance of the NumberDecimalPartField class.

Fields

Name Description
SpinIncrementProperty

Identifies the SpinIncrement dependency property.

ValueProperty

Identifies the GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberDecimalPartField.Value dependency property.

Properties

Name Description
MaxDigits

Gets or sets the optional digits of the field.

MinDigits

Gets or sets the required digits of the field.

SpinIncrement

Gets or sets the spin increment.

Methods

Name Description
DoSpinDown()

Process the spin down behavior.

DoSpinDown(int)

Perform spin down with the specified increment and wrap parameters.

DoSpinUp()

Process the spin up behavior.

DoSpinUp(int)

Perform spin up with the specified increment and wrap parameters.