Class MultiColumnListViewComponent
Related to:SoyWar.UIToolkit.Elements
/
Inherits from:objectObjectComponentBehaviourMonoBehaviourUIToolkitComponentUIToolkitComponent<MultiColumnListView>BaseVerticalCollectionViewComponent<MultiColumnListView>BaseListViewComponent<MultiColumnListView>
/
Implemented in:SoyWar.UIToolkit.dll
Implements interfaces:IUIToolkitEvent<MultiColumnListView>IEnumerable<MultiColumnListView>IEnumerable
Description
Component linked toMultiColumnListView. (Since Unity 6.0)
Syntax
[AddComponentMenu("UI Toolkit/Containers/Group Box", 7)]
public class MultiColumnListViewComponent : BaseListViewComponent<MultiColumnListView>, IUIToolkitEvent<MultiColumnListView>, IEnumerable<MultiColumnListView>, IEnumerableProperties
| Name | Description |
|---|---|
| ColumnSortingChangedEvent | This event is called when column sort changed. |
| HeaderContextMenuPopulateEvent | This event is called when a new contextual menu appears. |
Extension Methods
Inherited Members
Properties
| Name | Description |
|---|---|
| ItemsAddedEvent | This event is called for every item added to the itemsSource. Includes the item index. |
| ItemsRemovedEvent | This event is called for every item added to the itemsSource. Includes the item index. |
| ItemIndexChangedEvent | Called when an item is moved in the itemsSource. |
| ItemsChosenEvent | Callback triggered when the user acts on a selection of one or more items, for example by double-clicking or pressing Enter. |
| ItemsSourceChangedEvent | Called when the itemsSource is reassigned or changes size. |
| SelectedIndicesChangedEvent | Callback triggered when the selection changes. |
| SelectionChangedEvent | Callback triggered when the selection changes. |
| OffEvent | This event is called when an element is removed. |
| OnEvent | This event is called when an element is added. |
| Document | |
| OverrideHost | Chooses a template as host instead of the main document. |
| SearchFrom | Targets children from the parent's container (indirect) or via the hierarchy (direct). |
| Selector | |
| Target | Targets the first, last or all active elements. |
Methods
| Name | Description |
|---|---|
| GetEnumerator() | |
| Set(TElement) | |
| Unset(TElement) | |
| AddCustomStyles(StyleSheet) | Adds custom style for all targeted elements. |
| AddCustomStyles(params StyleSheet[]) | Adds custom styles for all targeted elements. |
| Count() | Count the number of active elements |
| ForceElementsUpdate() | Forces elements to be updated. |
| RemoveCustomStyles(StyleSheet) | Removes custom style from all targeted elements. |
| RemoveCustomStyles(params StyleSheet[]) | Removes custom styles from all targeted elements. |
| SetSelectorFromText(string) | |
| SetSelectorFromText(string, out string) | |
| Validate() | Checks if the document and the selector is valid. |
Operators
| Name |
|---|
| implicit operator TElement(UIToolkitComponent<TElement>) |
