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 EmbeddedListBox
class.
public EmbeddedListBox()
Methods
GetContainerForItemOverride()
Creates or identifies the element used to display the specified item.
protected override DependencyObject GetContainerForItemOverride()
Returns
- DependencyObject:
The element that is used to display the given 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 | The System.Windows.DependencyObject that is the wrapper element. |
item | object | The item that is being wrapped. |