Class
DateProperties

Represents the properties of a structured document tag of Datе type.

Definition

Constructors

DateProperties()

Initializes a new instance of the DateProperties class.

Declaration

cs-api-definition
public DateProperties()

Properties

Calendar

Gets or set the type of calendar that is used for displaying the content.

Declaration

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

Property Value

SdtCalendar?

DateFormat

Gets or sets the date format pattern.

Declaration

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

Property Value

string

DateMappingType

Gets or sets the data type that is used for storing mapped date time value.

Declaration

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

Property Value

DateMappingType?

FullDate

Gets or sets the date time content.

Declaration

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

Property Value

DateTime?

Language

Gets or sets the culture used for formatting the date.

Declaration

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

Property Value

CultureInfo

Methods

GetBuilder(SdtRangeStart)

Provides an ISdtBuilder that generates the structured document tag's content.

Declaration

cs-api-definition
protected override ISdtBuilder GetBuilder(SdtRangeStart associatedSdt)

Parameters

associatedSdt

SdtRangeStart

Returns

ISdtBuilder

Overrides SdtProperties.GetBuilder(SdtRangeStart)