Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ContentControl Class / DateFormat Property

In This Topic
    DateFormat Property
    In This Topic
    Gets or sets the display format which shall be used to format any date from the Date before displaying it in the control content. If this property is null, then the date shall be formatted using the standard date display mask for the language ID specified in the DateLocale property if present, or the language ID of the run contents otherwise. This property has effect only for content controls with type ContentControlType.Date.
    Syntax
    'Declaration
     
    Public Property DateFormat As System.String
    public System.string DateFormat {get; set;}
    See Also