PivotViewerDateTimeProperty.GetStaticAndAutoCalendarDateRangePresets Method

Silverlight

Returns one list of presets for the specified PivotViewerDateTimeProperty and another auto-generated list of presets.

Namespace:  System.Windows.Controls.Pivot
Assembly:  System.Windows.Controls.Pivot (in System.Windows.Controls.Pivot.dll)

'Declaration
Public Shared Function GetStaticAndAutoCalendarDateRangePresets ( _
	viewer As Object, _
	property As PivotViewerDateTimeProperty, _
	values As IEnumerable(Of DateTime) _
) As IList(Of IList(Of CalendarDateRange))

Parameters

viewer
Type: System.Object
The PivotViewer control.
property
Type: System.Windows.Controls.Pivot.PivotViewerDateTimeProperty
PivotViewerDateTimeProperty for which presets are returned.
values
Type: System.Collections.Generic.IEnumerable(Of DateTime)
Date/Time values based on which presets are returned.

Return Value

Type: System.Collections.Generic.IList(Of IList(Of CalendarDateRange))
One list of presets for the specified PivotViewerDateTimeProperty and another auto-generated list of presets.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: