[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.DateHourDisplayField

DateHourDisplayField Class

Represents DateHourDisplayField class which displays hour for GrapeCity.Windows.InputMan.GcDateTime control when it is not active.

Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
public class DateHourDisplayField : DateInputDisplayField, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
Public Class DateHourDisplayField
    Inherits DateInputDisplayField
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
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.

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
DateHourDisplayField()

Initializes a new instance of the DateHourDisplayField class.

DateHourDisplayField(bool)

Initializes a new instance of the DateHourDisplayField class.

DateHourDisplayField(bool, bool)

Initializes a new instance of the DateHourDisplayField class.

Fields

Name Description
MidnightAs24Property

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

ShowLeadingZeroProperty

Identifies the GrapeCity.Windows.InputMan.Fields.DateHourDisplayField.ShowLeadingZero dependency property.

Properties

Name Description
MidnightAs24

Gets or sets a value indicating whether middle night displayed as hour 24. This is a dependency property.

ShowLeadingZero

Gets or sets a value indicating whether show leading zero. This is a dependency property.