C# Class WinRTXamlToolkit.Controls.DataVisualization.Charting.Primitives.DelegatingListBox

Subclasses ListBox to provide an easy way for a consumer of ListBox to hook into the four standard ListBox *Container* overrides.
Inheritance: Windows.UI.Xaml.Controls.ListBox
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Méthodes publiques

Méthode Description
DelegatingListBox ( ) : System

Initializes a new instance of the DelegatingListBox class.

Méthodes protégées

Méthode Description
ClearContainerForItemOverride ( DependencyObject element, object item ) : void

Undoes the effects of the PrepareContainerForItemOverride method.

GetContainerForItemOverride ( ) : DependencyObject

Creates or identifies the element that is used to display the given item.

IsItemItsOwnContainerOverride ( object item ) : bool

Determines if the specified item is (or is eligible to be) its own container.

PrepareContainerForItemOverride ( DependencyObject element, object item ) : void

Prepares the specified element to display the specified item.

Method Details

ClearContainerForItemOverride() protected méthode

Undoes the effects of the PrepareContainerForItemOverride method.
protected ClearContainerForItemOverride ( DependencyObject element, object item ) : void
element Windows.UI.Xaml.DependencyObject The container element.
item object The item to display.
Résultat void

DelegatingListBox() public méthode

Initializes a new instance of the DelegatingListBox class.
public DelegatingListBox ( ) : System
Résultat System

GetContainerForItemOverride() protected méthode

Creates or identifies the element that is used to display the given item.
protected GetContainerForItemOverride ( ) : DependencyObject
Résultat Windows.UI.Xaml.DependencyObject

IsItemItsOwnContainerOverride() protected méthode

Determines if the specified item is (or is eligible to be) its own container.
protected IsItemItsOwnContainerOverride ( object item ) : bool
item object The item to check.
Résultat bool

PrepareContainerForItemOverride() protected méthode

Prepares the specified element to display the specified item.
protected PrepareContainerForItemOverride ( DependencyObject element, object item ) : void
element Windows.UI.Xaml.DependencyObject The element used to display the specified item.
item object The item to display.
Résultat void