# C1.WPF.MediaPlayer.C1MediaItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_MediaPlayer_C1MediaItem" data-uid="C1.WPF.MediaPlayer.C1MediaItem" class="text-break">C1MediaItem Class
</h1>
  <div class="markdown level0 summary"><p>A media file that can be played by <a class="xref" href="C1.WPF.MediaPlayer.C1MediaPlayer.html">C1MediaPlayer</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">C1MediaItem</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.MediaPlayer.html">C1.WPF.MediaPlayer</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.MediaPlayer.4.6.2.dll</h6>
  <h5 id="C1_WPF_MediaPlayer_C1MediaItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1MediaItem : INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1MediaItem
    Implements INotifyPropertyChanged</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_MediaPlayer_C1MediaItem__ctor" data-uid="C1.WPF.MediaPlayer.C1MediaItem.#ctor">
          <a class="xref" href="C1.WPF.MediaPlayer.C1MediaItem.-ctor.html#C1_WPF_MediaPlayer_C1MediaItem__ctor">C1MediaItem()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.MediaPlayer.C1MediaItem.html">C1MediaItem</a>  class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_MediaPlayer_C1MediaItem_Chapters" data-uid="C1.WPF.MediaPlayer.C1MediaItem.Chapters">
          <a class="xref" href="C1.WPF.MediaPlayer.C1MediaItem.Chapters.html#C1_WPF_MediaPlayer_C1MediaItem_Chapters">Chapters</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the list of <a class="xref" href="C1.WPF.MediaPlayer.C1MediaChapter.html">C1MediaChapter</a> for this media item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_MediaPlayer_C1MediaItem_MediaSource" data-uid="C1.WPF.MediaPlayer.C1MediaItem.MediaSource">
          <a class="xref" href="C1.WPF.MediaPlayer.C1MediaItem.MediaSource.html#C1_WPF_MediaPlayer_C1MediaItem_MediaSource">MediaSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the address of the media file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_MediaPlayer_C1MediaItem_NaturalDuration" data-uid="C1.WPF.MediaPlayer.C1MediaItem.NaturalDuration">
          <a class="xref" href="C1.WPF.MediaPlayer.C1MediaItem.NaturalDuration.html#C1_WPF_MediaPlayer_C1MediaItem_NaturalDuration">NaturalDuration</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the duration to show for this item in the item list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_MediaPlayer_C1MediaItem_ThumbnailSource" data-uid="C1.WPF.MediaPlayer.C1MediaItem.ThumbnailSource">
          <a class="xref" href="C1.WPF.MediaPlayer.C1MediaItem.ThumbnailSource.html#C1_WPF_MediaPlayer_C1MediaItem_ThumbnailSource">ThumbnailSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the image that represents the item in the item list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_MediaPlayer_C1MediaItem_Title" data-uid="C1.WPF.MediaPlayer.C1MediaItem.Title">
          <a class="xref" href="C1.WPF.MediaPlayer.C1MediaItem.Title.html#C1_WPF_MediaPlayer_C1MediaItem_Title">Title</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the media item.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_MediaPlayer_C1MediaItem_OnPropertyChanged_System_String_" data-uid="C1.WPF.MediaPlayer.C1MediaItem.OnPropertyChanged(System.String)">
          <a class="xref" href="C1.WPF.MediaPlayer.C1MediaItem.OnPropertyChanged.html#C1_WPF_MediaPlayer_C1MediaItem_OnPropertyChanged_System_String_">OnPropertyChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.WPF.MediaPlayer.C1MediaItem.PropertyChanged.html">PropertyChanged</a> event with the provided arguments.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_MediaPlayer_C1MediaItem_PropertyChanged" data-uid="C1.WPF.MediaPlayer.C1MediaItem.PropertyChanged">
          <a class="xref" href="C1.WPF.MediaPlayer.C1MediaItem.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the items list of the collection has changed, or the collection is reset.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
