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


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

    Property Value

    A System.String value indicates the empty era watermark.
    Exceptions
    ExceptionDescription
    The assigned value is string with invalid char.
    Remarks
    The EmptyEra watermark is shown when GcDateTime's value isn't a null reference (Nothing in Visual Basic), it can't be shown by Era and the FieldSet should has DateEraField.
    See Also