PivotViewerDateTimeProperty Class
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Represents the PivotViewerProperty for date time values.
Inheritance Hierarchy
System.Object
System.Windows.Controls.Pivot.PivotViewerProperty
System.Windows.Controls.Pivot.PivotViewerDateTimeProperty
Namespace: System.Windows.Controls.Pivot
Assembly: System.Windows.Controls.Pivot (in System.Windows.Controls.Pivot.dll)
Syntax
'Declaration
Public NotInheritable Class PivotViewerDateTimeProperty _
Inherits PivotViewerProperty
public sealed class PivotViewerDateTimeProperty : PivotViewerProperty
The PivotViewerDateTimeProperty type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PivotViewerDateTimeProperty() | Initializes a new instance of the PivotViewerDateTimeProperty class. | |
PivotViewerDateTimeProperty(String, String, String, PivotViewerPropertyOptions, Binding) | Initializes a new instance of the PivotViewerDateTimeProperty class with the Id, display name, format, display options and the binding value. | |
PivotViewerDateTimeProperty(String, String, String, PivotViewerPropertyOptions, Binding, List<CalendarDateRange>) | Initializes a new instance of the PivotViewerDateTimeProperty class with the Id, display name, format, options, binding value and presets. | |
PivotViewerDateTimeProperty(String, String, String, PivotViewerPropertyOptions, Binding, PivotViewerDateTimePropertyRangesProvider, List<CalendarDateRange>) | Initializes a new instance of the PivotViewerDateTimeProperty class with the Id, display name, format, options, binding value, provider and presets.. |
Top
Properties
Name | Description | |
---|---|---|
Binding | Gets or sets the binding that specifies how to compute the value for this PivotViewerProperty. (Inherited from PivotViewerProperty.) | |
DisplayName | Gets or sets the display name of the PivotViewerProperty. (Inherited from PivotViewerProperty.) | |
Format | Gets or sets the .NET format string for values of the PivotViewerProperty. (Inherited from PivotViewerProperty.) | |
Id | Gets or sets the Id of the PivotViewerProperty. (Inherited from PivotViewerProperty.) | |
IsLocked | Gets a value that specifies whether the PivotViewerProperty is locked. (Inherited from PivotViewerProperty.) | |
Options | Gets or sets values from the PivotViewerPropertyOptions to define how the PivotViewerProperty is displayed and treated by PivotViewer. (Inherited from PivotViewerProperty.) | |
PresetProvider | Gets or sets the callback that provides groups of date ranges to be made available for this PivotViewerDateTimeProperty. | |
Presets | Gets or sets a list of date ranges to be made available for this PivotViewerDateTimeProperty. | |
PropertyType | Gets the type of the PivotViewerProperty. (Inherited from PivotViewerProperty.) |
Top
Methods
Name | Description | |
---|---|---|
AutogenerateCalendarDateRangePresets | Returns two lists of auto-generated presets for the specified PivotViewerDateTimeProperty based on the date/time values. | |
CompareTo | Compares the current instance of PivotViewerProperty with another PivotViewerProperty. (Inherited from PivotViewerProperty.) | |
EnsureUnlocked | Throws an InvalidOperationException if IsLocked is true. (Inherited from PivotViewerProperty.) | |
Equals | Determines whether two PivotViewerProperty instances are equal. (Inherited from PivotViewerProperty.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Retrieves a hash code based on the PivotViewerProperty's Id and PropertyType. (Inherited from PivotViewerProperty.) | |
GetStaticAndAutoCalendarDateRangePresets | Returns one list of presets for the specified PivotViewerDateTimeProperty and another auto-generated list of presets. | |
GetStaticCalendarDateRangePresets | Returns the presets for the specified PivotViewerDateTimeProperty as a single list. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Retrieves the string representation of the PivotViewerProperty. (Inherited from PivotViewerProperty.) |
Top
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.