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


In This Topic
    RecommendedValue Property (GcNumber)
    In This Topic
    Gets or sets the recommended value.
    Syntax
    'Declaration
     
    Public Property RecommendedValue As Decimal
    'Usage
     
    Dim instance As GcNumber
    Dim value As Decimal
     
    instance.RecommendedValue = value
     
    value = instance.RecommendedValue
    public decimal RecommendedValue {get; set;}

    Property Value

    A System.Decimal value indicates the default value of the editor.
    Remarks

    Recommended value is used to indicate the user a possible input decimal value as a hint. It's only shown up when GcNumber is active.

    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