CxmlCollectionSource Class

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

Represents a collection of PivotViewerItem and their metadata.

Inheritance Hierarchy

System.Object
  System.Windows.Controls.Pivot.CxmlCollectionSource

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

Syntax

'Declaration
<ScriptableTypeAttribute> _
Public NotInheritable Class CxmlCollectionSource _
    Implements INotifyPropertyChanged
[ScriptableTypeAttribute]
public sealed class CxmlCollectionSource : INotifyPropertyChanged

The CxmlCollectionSource type exposes the following members.

Constructors

  Name Description
Public method CxmlCollectionSource() Initializes a new instance of the CxmlCollectionSource class.
Public method CxmlCollectionSource(Uri) Initializes a new instance of the CxmlCollectionSource class. and initializes it with the contents of the CXML file located at the specified Uri.

Top

Properties

  Name Description
Public property BrandImage Gets the branding image for the CxmlCollectionSource.
Public property Copyright Gets the copyright of the CxmlCollectionSource.
Public property Culture Gets the CultureInfo of the CxmlCollectionSource.
Public property ItemProperties Gets the list of PivotViewerPropertys that are used by the PivotViewerItems in the CxmlCollectionSource.
Public property Items Gets the list of PivotViewerItems in the CxmlCollectionSource.
Public property ItemTemplates Gets the templates to use when displaying the PivotViewerItems.
Public property Name Gets the name of the CxmlCollectionSource.
Public property State Gets the CxmlCollectionState of this CxmlCollectionSource.
Public property UriSource Gets the Uri of the CXML file the CxmlCollectionSource is sourced from.

Top

Methods

  Name Description
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 GetItemById Gets the PivotViewerItem in this CxmlCollectionSource with the specified id.
Public method GetPivotPropertyById Gets the PivotViewerProperty in the CxmlCollectionSource with 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 ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event PropertyChanged Occurs when any mutable property on the CxmlCollectionSourcechanges.
Public event StateChanged Occurs when the CxmlCollectionSource's State changes.

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.