[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.DateYearField

DateYearField Class

Represents GrapeCity.Windows.InputMan.Fields.DateYearField class which displays year for GrapeCity.Windows.InputMan.GcDateTime.

Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
public class DateYearField : DateInputField, IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, ISupportInitialize, ISpinable
Public Class DateYearField
    Inherits DateInputField
    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 IsKeyboardFocused is true.

ValidationStates

InvalidUnfocused

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

Constructors

Name Description
DateYearField()

Initializes a new instance of the DateYearField class.

DateYearField(YearDigitType)

Initializes a new instance of the GrapeCity.Windows.InputMan.Fields.DateYearField class.

Fields

Name Description
TwoDigitYearMaxProperty

Identifies the GrapeCity.Windows.InputMan.Fields.DateYearField.TwoDigitYearMax dependency property.

YearDigitProperty

Identifies the GrapeCity.Windows.InputMan.Fields.DateYearField.YearDigit dependency property.

Properties

Name Description
TwoDigitYearMax

Gets or sets the max year of two digits mode of DateYearField. This is a dependency property.

YearDigit

Gets or sets the year digit of GrapeCity.Windows.InputMan.Fields.DateYearField. This is a dependency property.