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 | |
---|---|---|
CxmlCollectionSource() | Initializes a new instance of the CxmlCollectionSource class. | |
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 | |
---|---|---|
BrandImage | Gets the branding image for the CxmlCollectionSource. | |
Copyright | Gets the copyright of the CxmlCollectionSource. | |
Culture | Gets the CultureInfo of the CxmlCollectionSource. | |
ItemProperties | Gets the list of PivotViewerPropertys that are used by the PivotViewerItems in the CxmlCollectionSource. | |
Items | Gets the list of PivotViewerItems in the CxmlCollectionSource. | |
ItemTemplates | Gets the templates to use when displaying the PivotViewerItems. | |
Name | Gets the name of the CxmlCollectionSource. | |
State | Gets the CxmlCollectionState of this CxmlCollectionSource. | |
UriSource | Gets the Uri of the CXML file the CxmlCollectionSource is sourced from. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
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 | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetItemById | Gets the PivotViewerItem in this CxmlCollectionSource with the specified id. | |
GetPivotPropertyById | Gets the PivotViewerProperty in the CxmlCollectionSource with the specified id. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
PropertyChanged | Occurs when any mutable property on the CxmlCollectionSourcechanges. | |
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.