Selectable |
public class SelectableListNodeList : ObservableCollection<SelectableListNode>
The SelectableListNodeList type exposes the following members.
Name | Description | |
---|---|---|
SelectableListNodeList | Initializes a new instance of the SelectableListNodeList class. | |
SelectableListNodeList(Enum) | Initialize the list with all possible values of an enumeration. The item given in the argument is marked as selected item. Note: the enumeration must not have the [Flags] attribute! | |
SelectableListNodeList(IEnumerableSelectableListNode) | Initializes a new instance of the SelectableListNodeList class. | |
SelectableListNodeList(Enum, Boolean) | Initialize the list with all possible values of an enumeration. The item given in the argument is marked as selected item. Note: the enumeration must not have the [Flags] attribute! | |
SelectableListNodeList(String, String) | Initializes the collection with a list of names. One of them is the selected item. |
Name | Description | |
---|---|---|
Count | Gets the number of elements actually contained in the CollectionT. (Inherited from CollectionSelectableListNode) | |
FirstSelectedNode | Gets the first selected node, or null if no node is currently selected. | |
FirstSelectedNodeIndex | Get the index of the first selected node. Returns -1 if no node is selected. | |
Item | Gets or sets the element at the specified index. (Inherited from CollectionSelectableListNode) | |
Items | Gets a IListT wrapper around the CollectionT. (Inherited from CollectionSelectableListNode) | |
UniqueSelectedItem | Gets/sets exactly one item that is selected. Intended for operation with comboboxes etc., were the list has none or exactly one item that is selected. Note that use of this property is limited to short lists, because the selected item is searched by iteration through the list. |
Name | Description | |
---|---|---|
Add(T) | Adds an object to the end of the CollectionT. (Inherited from CollectionSelectableListNode) | |
AddT(SelectableListNode, ActionT) | Adds the specified node to the collection, and is also able to add the correspondig document node too. | |
AddRange | Adds items to this collection. | |
BlockReentrancy | Disallows reentrant attempts to change this collection. (Inherited from ObservableCollectionSelectableListNode) | |
CheckReentrancy | Checks for reentrant attempts to change this collection. (Inherited from ObservableCollectionSelectableListNode) | |
Clear | Removes all elements from the CollectionT. (Inherited from CollectionSelectableListNode) | |
Clear(Action) | Clears this collection, and clears the corresponding document too. | |
ClearItems | Removes all items from the collection. (Inherited from ObservableCollectionSelectableListNode) | |
ClearSelectionsAll | Sets the IsSelected property of each node in the list to false. | |
Contains | Determines whether an element is in the CollectionT. (Inherited from CollectionSelectableListNode) | |
CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionSelectableListNode) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Exchange | Exchange the item at index i with the item at index j. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
FindIndex | ||
GetEnumerator | Returns an enumerator that iterates through the CollectionT. (Inherited from CollectionSelectableListNode) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetSelectedIndices | ||
GetType | Gets the Type of the current instance. (Inherited from Object) | |
IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT. (Inherited from CollectionSelectableListNode) | |
IndexOfObject | ||
Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionSelectableListNode) | |
InsertItem | Inserts an item into the collection at the specified index. (Inherited from ObservableCollectionSelectableListNode) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
Move | Moves the item at the specified index to a new location in the collection. (Inherited from ObservableCollectionSelectableListNode) | |
MoveItem | Moves the item at the specified index to a new location in the collection. (Inherited from ObservableCollectionSelectableListNode) | |
MoveSelectedItemsDown | Move the selected items one place down (i.e. to higher index). | |
MoveSelectedItemsDown(ActionInt32, Int32) | Move the selected items one place down (i.e. to higher index). | |
MoveSelectedItemsUp | Move the selected items one place up (i.e. to lower index). | |
MoveSelectedItemsUp(ActionInt32, Int32) | Move the selected items one place up (i.e. to lower index). | |
OnCollectionChanged | Raises the CollectionChanged event with the provided arguments. (Inherited from ObservableCollectionSelectableListNode) | |
OnPropertyChanged | Raises the PropertyChanged event with the provided arguments. (Inherited from ObservableCollectionSelectableListNode) | |
Remove | Removes the first occurrence of a specific object from the CollectionT. (Inherited from CollectionSelectableListNode) | |
RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionSelectableListNode) | |
RemoveItem | Removes the item at the specified index of the collection. (Inherited from ObservableCollectionSelectableListNode) | |
RemoveRange | ||
RemoveSelectedItems | Remove the selected items from the collection. | |
RemoveSelectedItems(ActionInt32, Object) | Remove the selected items from the collection. | |
SetItem | Replaces the element at the specified index. (Inherited from ObservableCollectionSelectableListNode) | |
SetSelection | Sets the selection of all nodes using a function of the node. | |
ToArray | ||
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
CollectionChanged | Occurs when an item is added, removed, changed, moved, or the entire list is refreshed. (Inherited from ObservableCollectionSelectableListNode) | |
PropertyChanged | Occurs when a property value changes. (Inherited from ObservableCollectionSelectableListNode) |
Name | Description | |
---|---|---|
AddRangeSelectableListNode | (Defined by ListExtensions) | |
FillWithSelectableListNode | (Defined by ListExtensions) | |
FillWithEnumeration |
Fills a SelectableListNodeList with enumeration values. (For flag enumerations, please use FillWithFlagEnumeration(SelectableListNodeList, Enum)).
(Defined by SelectableListNodeListHelper) | |
FillWithFlagEnumeration |
Fills the list with possible values from a flag enumeration.
(Defined by SelectableListNodeListHelper) | |
GetFlagEnumValueAsInt32 |
Gets the selected flag enum value from a SelectableListNodeList. The SelectableListNodeList instance should have been
initialized with FillWithFlagEnumeration(SelectableListNodeList, Enum) (the tags of the items must be integers, representing the flag values).
(Defined by SelectableListNodeListHelper) |