Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcNumber Class / ShowRecommendedValue Property


In This Topic
    ShowRecommendedValue Property (GcNumber)
    In This Topic
    Gets or sets a value indicating whether show the recommended value.
    Syntax
    'Declaration
     
    Public Property ShowRecommendedValue As Boolean
    'Usage
     
    Dim instance As GcNumber
    Dim value As Boolean
     
    instance.ShowRecommendedValue = value
     
    value = instance.ShowRecommendedValue
    public bool ShowRecommendedValue {get; set;}

    Property Value

    true if show the recommended value; otherwise, false.
    Remarks

    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