Class SkinPlaylistItem
Interaction logic for SkinPlaylistItem.xaml.
Inheritance
SkinPlaylistItem
Implements
Inherited Members
Namespace: VisioForge.Core.UI.WPF.Skins
Assembly: VisioForge.Core.dll
Syntax
public class SkinPlaylistItem : UserControl, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IComponentConnector
Constructors
SkinPlaylistItem()
Initializes a new instance of the SkinPlaylistItem class.
Declaration
public SkinPlaylistItem()
Fields
SkinNameProperty
The skin name property.
Declaration
public static readonly DependencyProperty SkinNameProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
Properties
BackgroundColor
Gets or sets the color of the background.
Declaration
public Brush BackgroundColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Brush | The color of the background. |
Filename
Gets or sets the filename.
Declaration
public string Filename { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The filename. |
Image
Gets or sets the image.
Declaration
public BitmapSource Image { get; set; }
Property Value
| Type | Description |
|---|---|
| BitmapSource | The image. |
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. |
TextColor
Gets or sets the color of the text.
Declaration
public Brush TextColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Brush | The color of the text. |
Methods
AttachPlaylist(SkinPlaylist)
Attaches the playlist.
Declaration
public void AttachPlaylist(SkinPlaylist playlist)
Parameters
| Type | Name | Description |
|---|---|---|
| SkinPlaylist | playlist | The playlist. |
InitializeComponent()
InitializeComponent
Declaration
public void InitializeComponent()
Select()
Selects item.
Declaration
public void Select()
Unselect()
Unselects item.
Declaration
public void Unselect()
Events
OnSelected
Occurs when item selected.
Declaration
public event EventHandler<string> OnSelected
Event Type
| Type | Description |
|---|---|
| EventHandler<string> |