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


In This Topic
    WatermarkDisplayEmptyEra Property
    In This Topic
    Gets or sets the display empty era watermark which is shown when GcDateTime has no focus, and its value can't show as era year.
    Syntax
    'Declaration
     
    Public Property WatermarkDisplayEmptyEra As String
    'Usage
     
    Dim instance As GcDateTime
    Dim value As String
     
    instance.WatermarkDisplayEmptyEra = value
     
    value = instance.WatermarkDisplayEmptyEra
    public string WatermarkDisplayEmptyEra {get; set;}

    Property Value

    A System.String value indicates the display empty era watermark.
    Exceptions
    ExceptionDescription
    The assigned value is string with invalid char.
    Remarks
    This property must works with DisplayFieldSet property. When it doesn't has a DateEraDisplayField display field, watermark empty era won't be shown. Also when GcDateTime's value is a null reference (Nothing in Visual Basic), it won't shown the watermark.
    See Also