Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcDateTime Class / RecommendedValue Property


In This Topic
    RecommendedValue Property (GcDateTime)
    In This Topic
    Gets or sets a value which is recommended to input.
    Syntax
    'Declaration
     
    Public Property RecommendedValue As Date
    'Usage
     
    Dim instance As GcDateTime
    Dim value As Date
     
    instance.RecommendedValue = value
     
    value = instance.RecommendedValue
    public DateTime RecommendedValue {get; set;}

    Property Value

    A System.DateTime value indicates the recommended value of the editor. The default value is System.DateTime.Now.
    Remarks

    Recommended value is used to indicate the user a possible input date time as a hint.

    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.

    See Also