Class SkinPlayerControls
SkinPlayerControls. Implements the Grid Implements the IDisposable.
Inheritance
Implements
Inherited Members
Namespace: VisioForge.Core.UI.WPF.Skins
Assembly: VisioForge.Core.dll
Syntax
public class SkinPlayerControls : Grid, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IDisposable
Constructors
SkinPlayerControls()
Initializes a new instance of the SkinPlayerControls class.
Declaration
public SkinPlayerControls()
Fields
SkinNameProperty
The skin name property.
Declaration
public static readonly DependencyProperty SkinNameProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
Properties
Filename
Gets or sets the filename.
Declaration
public string Filename { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The filename. |
Player
Gets or sets the player.
Declaration
public IMediaPlayerControls Player { get; set; }
Property Value
| Type | Description |
|---|---|
| IMediaPlayerControls | The player. |
SkinName
Gets or sets the name of the skin.
Declaration
public string SkinName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the skin. |
Methods
ConnectPlaylist(SkinPlaylist)
Connects the playlist.
Declaration
public void ConnectPlaylist(SkinPlaylist playlist)
Parameters
| Type | Name | Description |
|---|---|---|
| SkinPlaylist | playlist | The playlist. |
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Dispose(bool)
Releases unmanaged and - optionally - managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
|
PlayNewFileAsync(string)
Plays the new file.
Declaration
public Task PlayNewFileAsync(string filename)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filename | The filename. |
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |
Events
OnAction
Occurs when action happened.
Declaration
public event EventHandler<SkinActionEventArgs> OnAction
Event Type
| Type | Description |
|---|---|
| EventHandler<SkinActionEventArgs> |
OnPlayClick
Occurs when play button clicked.
Declaration
public event EventHandler OnPlayClick
Event Type
| Type | Description |
|---|---|
| EventHandler |
OnPreparePlayClick
Occurs when play button clicked (before play call).
Declaration
public event EventHandler OnPreparePlayClick
Event Type
| Type | Description |
|---|---|
| EventHandler |
OnPrepareStopClick
Occurs when stop button clicked (before stop call).
Declaration
public event EventHandler OnPrepareStopClick
Event Type
| Type | Description |
|---|---|
| EventHandler |
OnStopClick
Occurs when stop button clicked.
Declaration
public event EventHandler OnStopClick
Event Type
| Type | Description |
|---|---|
| EventHandler |