Search
DateStyle Members
Constructors Methods
 


Defines formatting for a range of dates. Can be used either to format either days or months.

The following tables list the members exposed by the DateStyle type.

 Public Constructors

  Name Description

DateStyle

Initializes a new instance of the DateStyle class. Both the start and end dates are set to the current date.

 Public Methods

  Name Description

getAllowItems

Gets a value indicating whether the date cells in this range allow items to be placed or created in them interactively.

getAllowSelect

Gets a value indicating whether the date cells in this range can be selected.

getFrom

Gets the start date of the formatted range.

getPriority

Gets the format priority. If one date has several styles applied to it, only the highest in priority is taken into account.

getStyle

Gets the visualization style of the date cells included in the formatted range.

getTo

Gets the end date of the formatted range.

setAllowItems

Sets a value indicating whether the date cells in this range allow items to be placed or created in them interactively.

setAllowSelect

Sets a value indicating whether the date cells in this range can be selected.

setFrom

Sets the start date of the formatted range.

setPriority

Sets the format priority. If one date has several styles applied to it, only the highest in priority is taken into account.

setStyle

Sets the visualization style of the date cells included in the formatted range.

setTo

Sets the end date of the formatted range.

 See Also