Partager via


PivotViewerItem Class

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

Represents a single item in ItemsSource.

Inheritance Hierarchy

System.Object
  System.Windows.Controls.Pivot.PivotViewerItem

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

Syntax

'Declaration
<ScriptableTypeAttribute> _
<DefaultMemberAttribute("Item")> _
Public Class PivotViewerItem _
    Implements INotifyPropertyChanged
[ScriptableTypeAttribute]
[DefaultMemberAttribute("Item")]
public class PivotViewerItem : INotifyPropertyChanged

The PivotViewerItem type exposes the following members.

Constructors

  Name Description
Public method PivotViewerItem() Initializes a new instance of the PivotItem class.
Public method PivotViewerItem(String) Initializes a new instance of the PivotViewerItem class.

Top

Properties

  Name Description
Public property Id Gets the ID of the PivotViewerItem
Public property Item[PivotViewerProperty] Gets the binding to a PivotViewerProperty.
Public property Item[String] Gets the binding to a PivotViewerProperty.
Public property Properties Gets a list of the the PivotViewerPropertys for this PivotViewerItem.

Top

Methods

  Name Description
Public method Add Adds values to the specified PivotViewerProperty of the PivotViewerItem.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from 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 Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetPivotPropertyById Gets the PivotViewerProperty of the PivotViewerItem with the specified Id.
Public method GetPropertyValue Gets the DisplayName for the specified Id.
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 Remove Removes all values for the specified PivotViewerProperty.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event PropertyChanged Occurs when a PivotViewerProperty changes on this PivotViewerItem.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate event INotifyPropertyChanged.PropertyChanged Occurs when a PivotViewerProperty changes on this PivotViewerItem.

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.