[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.DateAmPmDisplayField.Pattern

Pattern Property

Pattern

Gets or sets a value indicating how to show AMDesignator and PMDesignator. This is a dependency property.

Declaration
public AmPmPattern Pattern { get; set; }
Public Property Pattern As AmPmPattern
Property Value
Type Description
AmPmPattern

An GrapeCity.Windows.InputMan.AmPmPattern value indicates the pattern. The default value is AmPmDesignator.

Remarks

The pattern controls GrapeCity.Windows.InputMan.Fields.DateAmPmDisplayField the way it displays the AM/PM designator. If the pattern is AmPmDesignator, it will show the whole chars of AMDesignator and PMDesignator; Otherwise, it will show the only first char.

Exceptions
Type Condition
ArgumentException

The assigned value is not type of AmPmPattern.