[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.DateShortHourDisplayField

DateShortHourDisplayField Class

Represents GrapeCity.Windows.InputMan.Fields.DateShortHourDisplayField class which displays short hour for GrapeCity.Windows.InputMan.GcDateTime when it is not active.

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

Initializes a new instance of the DateShortHourDisplayField class.

DateShortHourDisplayField(bool)

Initializes a new instance of the DateShortHourDisplayField class.

DateShortHourDisplayField(bool, Hour12Mode)

Initializes a new instance of the DateShortHourDisplayField class.

Fields

Name Description
Hour12ModeProperty

Identifies the GrapeCity.Windows.InputMan.Fields.DateShortHourDisplayField.Hour12Mode dependency property.

ShowLeadingZeroProperty

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

Properties

Name Description
Hour12Mode

Gets or sets a value indicating show hour 0 and hour12 both to 0 or 12. This is a dependency property.

ShowLeadingZero

Gets or sets a value indicating whether GrapeCity.Windows.InputMan.Fields.DateShortHourDisplayField displays leading zero. This is a dependency property.