PivotViewerDateTimeProperty.GetStaticAndAutoCalendarDateRangePresets Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

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

Parameters

Return Value

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

Version Information

Silverlight

Supported in: 5

Platforms

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