ItemsControl class
A scrollable items host without built-in selection semantics.
Guide: C# Markup reference: Listbox
public sealed class ItemsControl : ScrollableItemsBasePublic Members
Section titled “Public Members”| name | description |
|---|---|
| ItemsControl() | The default constructor. |
| ItemHeight { get; set; } | Gets or sets the height of each item in DIPs; NaN uses the theme default. |
| ItemPadding { get; set; } | Gets or sets the padding for each item. |
| ItemsSource { get; set; } | Gets or sets the items source. |
| ItemTemplate { get; set; } | Gets or sets the item template; unset, a default label template is used. |
| ScrollIntoView(…) | |
| SetScrollOffsets(…) | Sets both scroll offsets simultaneously. |
| TryGetContainer(…) | Gets the container currently showing the item at index. False when that item is not realized, which is the normal state of one scrolled out of view. |
| static readonly ItemHeightProperty | Gets or sets the height of each item (in DIPs). Use NaN to use theme default. |
| static readonly ItemPaddingProperty | Gets or sets the padding for each item. |
See Also
Section titled “See Also”- class ScrollableItemsBase
- namespace Aprillz.MewUI.Controls