[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberIntegerPartField

NumberIntegerPartField Class

Represents NumberIntegerPartField class which displays integer part for GrapeCity.Windows.InputMan.GcNumber.

Inheritance
NumberIntegerPartField
Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
public class NumberIntegerPartField : NumberField, IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, ISupportInitialize, ISpinable, INotifyPropertyChanged
Public Class NumberIntegerPartField
    Inherits NumberField
    Implements IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, ISupportInitialize, ISpinable, INotifyPropertyChanged
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
NumberIntegerPartField()

Initializes a new instance of the NumberIntegerPartField class.

Fields

Name Description
GroupSeparatorProperty

Identifies the GroupSeparator dependency property.

SpinIncrementProperty

Identifies the SpinIncrement dependency property.

ValueProperty

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

Properties

Name Description
GroupSeparator

Gets or sets a char that separates groups of digits to the left of the decimal in numeric values.

GroupSizes

Gets or sets the number of digits in each group to the left of the decimal in numeric values.

MaxDigits

Gets or sets the optional digits of NumberIntegerPartField.

MinDigits

Gets or sets the required digits of NumberIntegerPartField.

SpinIncrement

Gets or sets the spin increment of the NumberIntegerPartField.

Methods

Name Description
DoSpinDown()

Performs spin down behavior.

DoSpinDown(int)

Performs spin down with the specified increment parameters.

DoSpinUp()

Performs spin up behavior.

DoSpinUp(int)

Performs spin up with the specified increment parameters.