Class
DateProperties

Configures a structured document tag as a date picker with customizable calendar type, format, and culture.

Definition

Constructors

DateProperties()

Initializes a new instance of the DateProperties class.

Declaration

cs-api-definition
public DateProperties()

Properties

Calendar

Gets or sets the calendar system used for date display, such as Gregorian, Hijri, or Hebrew.

Declaration

cs-api-definition
public SdtCalendar? Calendar { get; set; }

Property Value

SdtCalendar?

DateFormat

Gets or sets the date format pattern used to display the date value in the document.

Declaration

cs-api-definition
public string DateFormat { get; set; }

Property Value

string

DateMappingType

Gets or sets the data type used when mapping the date value to external data sources via XML data binding.

Declaration

cs-api-definition
public DateMappingType? DateMappingType { get; set; }

Property Value

DateMappingType?

FullDate

Gets or sets the date and time value stored in the date picker control.

Declaration

cs-api-definition
public DateTime? FullDate { get; set; }

Property Value

DateTime?

Language

Gets or sets the culture that determines how the date is formatted and which calendar is used.

Declaration

cs-api-definition
public CultureInfo Language { get; set; }

Property Value

CultureInfo