/Source Code/SongDatabase/PlayListItem.vb
# · Visual Basic · 42 lines · 13 code · 8 blank · 21 comment · 0 complexity · cd35f52c639bdb84437f91076e7730f8 MD5 · raw file
- Imports PowerSong.SongDatabase.Items
-
- ''' <summary>
- ''' Represents an item in a play list.
- ''' </summary>
- Public Class PlayListItem
-
- ''' <summary>
- ''' Gets or sets the <see cref="PowerSong.SongDatabase.Items.BaseItem" />.
- ''' </summary>
- ''' <value>The item this play list entry represents.</value>
- Public Property Item() As BaseItem = Nothing
-
- ''' <summary>
- ''' Gets or sets the style details of this play list item.
- ''' </summary>
- ''' <value>The style details of the play list item.</value>
- Public Property Style() As Style = Nothing
-
- ''' <summary>
- ''' Gets or sets the overriding background details.
- ''' </summary>
- ''' <value>The details for how the background is overridden in this play list item.</value>
- Public Property OverrideBackground() As OverrideBackground = Nothing
-
- ''' <summary>
- ''' Initializes a new instance of the <see cref="PlayListItem" /> class.
- ''' </summary>
- ''' <param name="item">The item to associate with the play list item.</param>
- ''' <param name="style">The style for the item.</param>
- ''' <param name="overrideBackground">Details concerning how the background will be overridden.</param>
- Public Sub New(ByVal item As BaseItem, _
- ByVal style As Style, _
- Optional ByVal overrideBackground As OverrideBackground = Nothing)
-
- Me.Item = item
- Me.Style = style
- Me.OverrideBackground = overrideBackground
-
- End Sub
-
- End Class