EmbeddedListBox Class
Represents a ListBox that can be embedded into other controls.
public class EmbeddedListBox : ListBox
- Inheritance:
- object Visual UIElement FrameworkElement Control ItemsControl Selector ListBox object
Constructors
EmbeddedListBox()
Initializes an instance of the class.
public EmbeddedListBox()
Methods
GetContainerForItemOverride()
Creates or identifies the element used to display a specified item.
protected override DependencyObject GetContainerForItemOverride()
Returns
- DependencyObject:
The element used to display a specified item.
PrepareContainerForItemOverride(DependencyObject, object)
Prepares the specified element to display the specified item.
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
| Parameter | Type | Description |
|---|---|---|
| element | DependencyObject | Element used to display the specified item. |
| item | object | Specified item. |