[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.DateMonthDisplayField

DateMonthDisplayField Class

Represents GrapeCity.Windows.InputMan.Fields.DateMonthDisplayField class which displays month 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 DateMonthDisplayField : DateInputDisplayField, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
Public Class DateMonthDisplayField
    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
DateMonthDisplayField()

Initializes a new instance of the DateMonthDisplayField class.

DateMonthDisplayField(bool)

Initializes a new instance of the DateMonthDisplayField class.

DateMonthDisplayField(bool, MonthPattern)

Initializes a new instance of the DateMonthDisplayField class.

Fields

Name Description
PatternProperty

Identifies the GrapeCity.Windows.InputMan.Fields.DateMonthDisplayField.Pattern dependency property.

ShowLeadingZeroProperty

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

Properties

Name Description
Pattern

Gets or sets month pattern for GrapeCity.Windows.InputMan.Fields.DateMonthDisplayField. This is a dependency property.

ShowLeadingZero

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