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


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

    Property Value

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

    Recommended value is used to indicate the user a possible input string 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 watermark. When watermark is shown, the recommended value is not shown any more, but the ApplyRecommendedValueCommand still works in this case.

    See Also