MediaPlayer.Chapters Property
Gets the list of chapters in the media file.
Namespace: System.Web.UI.SilverlightControls
Assembly: System.Web.Silverlight (in System.Web.Silverlight.dll)
Syntax
'Declaration
<ThemeableAttribute(True)> _
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
Public Overridable ReadOnly Property Chapters As MediaChapterCollection
Get
'Usage
Dim instance As MediaPlayer
Dim value As MediaChapterCollection
value = instance.Chapters
[ThemeableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public virtual MediaChapterCollection Chapters { get; }
Property Value
Type: System.Web.UI.SilverlightControls.MediaChapterCollection
The chapters in the media file.
Remarks
Chapters can be defined in several ways:
Embedded in a media file when it is encoded
Declared in a media definition file external to the media file
Added a MediaChapter object to the collection of chapters programmatically
Defined using a smart task in the Design View of the MediaPlayer control
If the MediaDefinition property is set to a media definition file that includes chapter definitions for the media file, these chapter settings take precedence over settings on the MediaPlayer control. In this case, the Chapters property on the MediaPlayer control is ignored.
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
See Also
Reference
System.Web.UI.SilverlightControls Namespace
Other Resources
Walkthrough: Creating Chapter Markers for the MediaPlayer Control