Collection Editor dialog box (XAML Designer)

You can use the Collection Editor dialog box in XAML Designer to add items to and remove items from a collection in the Properties window. The Collection Editor is available for any property in the Properties windows that has an ellipsis button (…). For example, when you add items to the Transitions property of an element by using the Properties window, you use the Collection Editor. Click the ellipsis button to open the Collection Editor dialog box.

Here's the Collection Editor dialog box for with an EntranceThemeTransition selected for the Transitions property:

Collection Editor Dialog Box

  • Items
    Shows the items in the collection.

  • Remove item
    Removes the selected item from the collection. This button has an "X" on it.

  • Up arrow
    Moves the selected item up in the collection.

  • Down arrow
    Moves the selected item down in the collection.

  • itemType
    Enables you to select the type of item to add to the collection.

  • Add
    Enables you to add a new item to the collection. The new item is added to the bottom of the list and given a default name. You can change the name and other properties in the Properties pane to the right.

  • Properties
    Displays the properties that you can edit for the currently selected item. The specific properties you can edit depend on the collection you're editing. The Properties pane works much like the Properties window—you can search and sort the collection properties. Some features, such as Events, are not available.

    In some cases, the properties of the current item contain additional collections. If so, you can open a nested version of the Collection Editor for that collection.

See Also

Concepts

Creating a UI by using XAML Designer