Поделиться через


PivotViewerProperty Class

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

Describes the properties that can be set on a PivotViewerItem.

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

Syntax

'Declaration
Public Class PivotViewerProperty _
    Implements IComparable(Of PivotViewerProperty)
public class PivotViewerProperty : IComparable<PivotViewerProperty>

The PivotViewerProperty type exposes the following members.

Properties

  Name Description
Public property Binding Gets or sets the binding that specifies how to compute the value for this PivotViewerProperty.
Public property DisplayName Gets or sets the display name of the PivotViewerProperty.
Public property Format Gets or sets the .NET format string for values of the PivotViewerProperty.
Public property Id Gets or sets the Id of the PivotViewerProperty.
Public property IsLocked Gets a value that specifies whether the PivotViewerProperty is locked.
Public property Options Gets or sets values from the PivotViewerPropertyOptions to define how the PivotViewerProperty is displayed and treated by PivotViewer.
Public property PropertyType Gets the type of the PivotViewerProperty.

Top

Methods

  Name Description
Public method CompareTo Compares the current instance of PivotViewerProperty with another PivotViewerProperty.
Protected method EnsureUnlocked Throws an InvalidOperationException if IsLocked is true.
Public method Equals Determines whether two PivotViewerProperty instances are equal. (Overrides Object.Equals(Object).)
Protected method 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.)
Public method GetHashCode Retrieves a hash code based on the PivotViewerProperty's Id and PropertyType. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Retrieves the string representation of the PivotViewerProperty. (Overrides Object.ToString().)

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.