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
Mostrar archivo Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Public Methods

Method Description
DelegatingListBox ( ) : System

Initializes a new instance of the DelegatingListBox class.

Protected Methods

Method 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 method

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.
return void

DelegatingListBox() public method

Initializes a new instance of the DelegatingListBox class.
public DelegatingListBox ( ) : System
return System

GetContainerForItemOverride() protected method

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

IsItemItsOwnContainerOverride() protected method

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.
return bool

PrepareContainerForItemOverride() protected method

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.
return void