[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.ShowRecommendedValue

ShowRecommendedValue Property

ShowRecommendedValue

Gets or sets a value indicating whether show the RecommendedValue.

Declaration
public bool ShowRecommendedValue { get; set; }
Public Property ShowRecommendedValue As Boolean
Property Value
Type Description
bool

true if show the recommended value; otherwise, false. The default value is false.

Remarks

If user set this property to true, GcDateTime will show a lighter text on the field based on the RecommendedValue. If the fields contains Japan era year field, it will show corresponding era year name.

If FieldSet doesn't contain any field, the recommended value will not be shown and the ApplyRecommendedValueCommand execution will do nothing either.

Recommended value has lower priority than display fields and watermark. When watermark or display fields is shown, the recommended value is not shown any more, but the ApplyRecommendedValueCommand still works in this case.