Export (0) Print
Expand All

PivotViewerDateTimeProperty.AutogenerateCalendarDateRangePresets Method

Silverlight

Returns two lists of auto-generated presets for the specified PivotViewerDateTimeProperty based on the date/time values.

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

public static IList<IList<CalendarDateRange>> AutogenerateCalendarDateRangePresets(
	Object viewer,
	PivotViewerDateTimeProperty property,
	IEnumerable<DateTime> values
)

Parameters

viewer
Type: System.Object
The PivotViewer control.
property
Type: System.Windows.Controls.Pivot.PivotViewerDateTimeProperty
PivotViewerDateTimeProperty for which presets are auto-generated.
values
Type: System.Collections.Generic.IEnumerable<DateTime>
Date/Time values based on which presets are auto-generated.

Return Value

Type: System.Collections.Generic.IList<IList<CalendarDateRange>>
Two lists of auto-generated presets for the specified PivotViewerDateTimeProperty.

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:
© 2014 Microsoft