C# Class ZeroInstall.Central.WinForms.AppTileList

Displays a list of AppTiles.
Inheritance: System.Windows.Forms.UserControl, IAppTileList
Exibir arquivo Open project: 0install/0install-win

Public Properties

Property Type Description
TextSearch HintTextBox

Private Properties

Property Type Description
RecolorTiles void
RemoveTile void

Public Methods

Method Description
AddQueuedTiles ( ) : void
AppTileList ( ) : System

Creates a new AppTile list.

Clear ( ) : void
GetTile ( FeedUri interfaceUri ) : IAppTile
PerformScroll ( int delta ) : void

Scrolls the list by a specified delta.

QueueNewTile ( FeedUri interfaceUri, string appName, AppStatus status, IIconCache iconCache = null, bool machineWide = false ) : IAppTile
RemoveTile ( FeedUri interfaceUri ) : void
ShowCategories ( ) : void

Protected Methods

Method Description
RefilterTiles ( ) : void

Applies the search filter to the list of tiles. Should be called after the filter was changed.

Private Methods

Method Description
RecolorTiles ( ) : void

Colors all application tiles in the list. Should be called after one or more tiles were removed.

RemoveTile ( AppTile tile ) : void

Removes an application tile from the list.

Disposes the AppTile (it cannot be reused).

Method Details

AddQueuedTiles() public method

public AddQueuedTiles ( ) : void
return void

AppTileList() public method

Creates a new AppTile list.
public AppTileList ( ) : System
return System

Clear() public method

public Clear ( ) : void
return void

GetTile() public method

public GetTile ( FeedUri interfaceUri ) : IAppTile
interfaceUri FeedUri
return IAppTile

PerformScroll() public method

Scrolls the list by a specified delta.
public PerformScroll ( int delta ) : void
delta int
return void

QueueNewTile() public method

public QueueNewTile ( FeedUri interfaceUri, string appName, AppStatus status, IIconCache iconCache = null, bool machineWide = false ) : IAppTile
interfaceUri FeedUri
appName string
status AppStatus
iconCache IIconCache
machineWide bool
return IAppTile

RefilterTiles() protected method

Applies the search filter to the list of tiles. Should be called after the filter was changed.
protected RefilterTiles ( ) : void
return void

RemoveTile() public method

public RemoveTile ( FeedUri interfaceUri ) : void
interfaceUri FeedUri
return void

ShowCategories() public method

public ShowCategories ( ) : void
return void

Property Details

TextSearch public_oe property

Allows the user to search/filter the AppTiles.
public HintTextBox TextSearch
return HintTextBox