C# Класс MediaPortal.GUI.Library.GUIListItem

An implementation of an item that is part of a collection. (E.g, a GUIThumbnailPanel).
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
_bigIconName string
_duration int
_dvdLabel string
_folder string
_hasProgressBar bool
_imageBigPinIcon GUIImage
_imageIcon GUIImage
_imagePinIcon GUIImage
_isDownloading bool
_isFolder bool
_isPlayed bool
_isRemote bool
_isSelected bool
_label string
_label2 string
_label3 string
_progressBarPercentage int
_smallIconName string
_thumbNailName string
_thumbnailImage GUIImage

Открытые методы

Метод Описание
Dispose ( ) : void

Free the memory that is used by the icons.

FreeMemory ( ) : void

Free the memory that is used.

GUIListItem ( ) : System

The (empty) constructor of the GUIListItem.

GUIListItem ( GUIListItem item ) : System

Creates a GUIListItem based on another GUIListItem.

GUIListItem ( string strLabel ) : System

Creates a GUIListItem.

GUIListItem ( string aLabel, string aLabel2, string aPath, bool aIsFolder, MediaPortal.Util.FileInformation aFileInformation ) : System
ItemSelected ( GUIControl parent ) : void

this method will raise the OnItemSelected() event to let any listener know that this item has been selected by the user in a list,thumbnail, filmstrip, or coverflow control

RefreshCoverArt ( ) : void

Приватные методы

Метод Описание
DisposeImage ( GUIImage &image ) : void
DoRetrieveArt ( ) : void

This method will raise the OnRetrieveArt() event to ask the listener to supply the thumbnail(s) for this item

itemSelectedCallback ( IAsyncResult ar ) : void

Описание методов

Dispose() публичный Метод

Free the memory that is used by the icons.
public Dispose ( ) : void
Результат void

FreeMemory() публичный Метод

Free the memory that is used.
public FreeMemory ( ) : void
Результат void

GUIListItem() публичный Метод

The (empty) constructor of the GUIListItem.
public GUIListItem ( ) : System
Результат System

GUIListItem() публичный Метод

Creates a GUIListItem based on another GUIListItem.
public GUIListItem ( GUIListItem item ) : System
item GUIListItem The item on which the new item is based.
Результат System

GUIListItem() публичный Метод

Creates a GUIListItem.
public GUIListItem ( string strLabel ) : System
strLabel string The text of the first label of the item.
Результат System

GUIListItem() публичный Метод

public GUIListItem ( string aLabel, string aLabel2, string aPath, bool aIsFolder, MediaPortal.Util.FileInformation aFileInformation ) : System
aLabel string
aLabel2 string
aPath string
aIsFolder bool
aFileInformation MediaPortal.Util.FileInformation
Результат System

ItemSelected() публичный Метод

this method will raise the OnItemSelected() event to let any listener know that this item has been selected by the user in a list,thumbnail, filmstrip, or coverflow control
public ItemSelected ( GUIControl parent ) : void
parent GUIControl
Результат void

RefreshCoverArt() публичный Метод

public RefreshCoverArt ( ) : void
Результат void

Описание свойств

_bigIconName защищенное свойство

protected string _bigIconName
Результат string

_duration защищенное свойство

protected int _duration
Результат int

_dvdLabel защищенное свойство

protected string _dvdLabel
Результат string

_folder защищенное свойство

protected string _folder
Результат string

_hasProgressBar защищенное свойство

protected bool _hasProgressBar
Результат bool

_imageBigPinIcon защищенное свойство

protected GUIImage,MediaPortal.GUI.Library _imageBigPinIcon
Результат GUIImage

_imageIcon защищенное свойство

protected GUIImage,MediaPortal.GUI.Library _imageIcon
Результат GUIImage

_imagePinIcon защищенное свойство

protected GUIImage,MediaPortal.GUI.Library _imagePinIcon
Результат GUIImage

_isDownloading защищенное свойство

protected bool _isDownloading
Результат bool

_isFolder защищенное свойство

protected bool _isFolder
Результат bool

_isPlayed защищенное свойство

protected bool _isPlayed
Результат bool

_isRemote защищенное свойство

protected bool _isRemote
Результат bool

_isSelected защищенное свойство

protected bool _isSelected
Результат bool

_label защищенное свойство

protected string _label
Результат string

_label2 защищенное свойство

protected string _label2
Результат string

_label3 защищенное свойство

protected string _label3
Результат string

_progressBarPercentage защищенное свойство

protected int _progressBarPercentage
Результат int

_smallIconName защищенное свойство

protected string _smallIconName
Результат string

_thumbNailName защищенное свойство

protected string _thumbNailName
Результат string

_thumbnailImage защищенное свойство

protected GUIImage,MediaPortal.GUI.Library _thumbnailImage
Результат GUIImage