Share via


ListOrganizer Class

Definition

Picker control that displays a list with basic editing functionality.

public ref class ListOrganizer : System::Windows::Controls::ContentControl
public class ListOrganizer : System.Windows.Controls.ContentControl
type ListOrganizer = class
    inherit ContentControl
Public Class ListOrganizer
Inherits ContentControl
Inheritance
ListOrganizer

Remarks

If a custom template is provided for this control, then the template MUST provide the following template parts:

PART_Picker - A required template part which must be of type PickerBase. This control provides basic functionality for Picker-like controls.

Constructors

ListOrganizer()

Creates a new instance of the ListOrganizer class.

Fields

DeleteItemCommand

Informs the ListOrganizer that it should delete the item passed.

DropDownButtonTemplateProperty

Identifies the DropDownButtonTemplate dependency property.

DropDownStyleProperty

Identifies the DropDownStyle dependency property.

HighlightedItemProperty

Identifies the HighlightedItem dependency property.

ItemDeletedEvent

Identifies the ItemDeleted RoutedEvent.

ItemSelectedEvent

Identifies the ItemSelected RoutedEvent.

ItemsSourceProperty

Identifies the ItemsSource dependency property.

NoItemsTextProperty

Identifies the NoItemsText dependency property.

SelectItemCommand

Informs the ListOrganizer that it should select the item passed.

TextContentPropertyNameProperty

Identifies the TextContentPropertyName dependency property.

Properties

DropDownButtonTemplate

Gets or sets a value that controls the visual tree of the DropDown button.

DropDownStyle

Gets or sets the style of the drop-down.

HighlightedItem

Gets or sets a value that controls the highlighted item in the list.

ItemsSource

Gets or sets a value that controls the items in the list.

NoItemsText

Gets or sets a value that appears to inform the user that there are no items in the list.

TextContentPropertyName

Gets or sets a value which dictates what binding is used to provide content for the items in the list.

Methods

OnApplyTemplate()

Called when ApplyTemplate is called.

OnDeleteItemExecuted(ExecutedRoutedEventArgs)

Called when DeleteItem executes.

OnDropDownButtonTemplateChanged(PropertyChangedEventArgs<ControlTemplate>)

Called when DropDownButtonTemplate property changes.

OnDropDownStyleChanged(PropertyChangedEventArgs<Style>)

Called when DropDownStyle property changes.

OnHighlightedItemChanged(PropertyChangedEventArgs<Object>)

Called when HighlightedItem property changes.

OnItemsSourceChanged(PropertyChangedEventArgs<IEnumerable>)

Called when ItemsSource property changes.

OnKeyDown(KeyEventArgs)

Prevents keyboard focus from leaving the dropdown.

OnNoItemsTextChanged(PropertyChangedEventArgs<String>)

Called when NoItemsText property changes.

OnSelectItemExecuted(ExecutedRoutedEventArgs)

Called when SelectItem executes.

OnTextContentPropertyNameChanged(PropertyChangedEventArgs<String>)

Called when TextContentPropertyName property changes.

Events

DropDownButtonTemplateChanged

Occurs when DropDownButtonTemplate property changes.

DropDownStyleChanged

Occurs when DropDownStyle property changes.

HighlightedItemChanged

Occurs when HighlightedItem property changes.

ItemDeleted

Occurs when an item is deleted from the list.

ItemSelected

Occurs when an item is selected in the list.

ItemsSourceChanged

Occurs when ItemsSource property changes.

NoItemsTextChanged

Occurs when NoItemsText property changes.

TextContentPropertyNameChanged

Occurs when TextContentPropertyName property changes.

Applies to