CxmlCollectionSource Class


Represents a collection of PivotViewerItem and their metadata.


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

public sealed class CxmlCollectionSource : INotifyPropertyChanged

The CxmlCollectionSource type exposes the following members.

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

Public propertyBrandImageGets the branding image for the CxmlCollectionSource.
Public propertyCopyrightGets the copyright of the CxmlCollectionSource.
Public propertyCultureGets the CultureInfo of the CxmlCollectionSource.
Public propertyItemPropertiesGets the list of PivotViewerPropertys that are used by the PivotViewerItems in the CxmlCollectionSource.
Public propertyItemsGets the list of PivotViewerItems in the CxmlCollectionSource.
Public propertyItemTemplatesGets the templates to use when displaying the PivotViewerItems.
Public propertyNameGets the name of the CxmlCollectionSource.
Public propertyStateGets the CxmlCollectionState of this CxmlCollectionSource.
Public propertyUriSourceGets the Uri of the CXML file the CxmlCollectionSource is sourced from.

Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetItemByIdGets the PivotViewerItem in this CxmlCollectionSource with the specified id.
Public methodGetPivotPropertyByIdGets the PivotViewerProperty in the CxmlCollectionSource with the specified id.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public eventPropertyChangedOccurs when any mutable property on the CxmlCollectionSourcechanges.
Public eventStateChangedOccurs when the CxmlCollectionSource's State changes.


Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions