[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.DateHourField

DateHourField Class

Represents DateHourField class which displays hour for GrapeCity.Windows.InputMan.GcDateTime control.

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

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

Fields

Name Description
MidnightAs24Property

Identifies the GrapeCity.Windows.InputMan.Fields.DateHourField.MidnightAs24 dependency property.

Properties

Name Description
MidnightAs24

Gets or sets a value indicates whether treat midnight as 24 o'clock. This is a dependency property.