Click or drag to resize

ListNode Class

This class is intended to use in list boxes, where you have to display a name, but must retrieve the item instead.
Inheritance Hierarchy
SystemObject
  Altaxo.CollectionsListNode
    Altaxo.CollectionsSelectableListNode

Namespace: Altaxo.Collections
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class ListNode : INotifyPropertyChanged

The ListNode type exposes the following members.

Constructors
 NameDescription
Protected methodListNodeInitializes a new instance of the ListNode class
Public methodListNode(String, Object) Initializes a new instance of the ListNode class.
Top
Properties
 NameDescription
Public propertyDescription Gets the description string. Can be used e.g. to show a tool tip.
Public propertyImage Gets an image to display for the item. The type depends on the Gui that is currently used.
Public propertyImageIndex Can be overridden to get an image index, that can be used to retrieve an image from a resource.
Public propertySubItemCount Gets the number of subitems to display (Text0, Text1, etc.).
Public propertyTag Gets or sets a tag associated with the item.
Public propertyText Gets or sets the text that is displayed (for simple Gui items).
Public propertyText0 Gets additional text to display for the item.
Public propertyText1 Gets additional text to display for the item.
Public propertyText2 Gets additional text to display for the item.
Public propertyText3 Gets additional text to display for the item.
Public propertyText4 Gets additional text to display for the item.
Public propertyText5 Gets additional text to display for the item.
Public propertyText6 Gets additional text to display for the item.
Public propertyText7 Gets additional text to display for the item.
Public propertyText8 Gets additional text to display for the item.
Public propertyText9 Gets additional text to display for the item.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnPropertyChanged Called when a property has changed.
Public methodSubItemBackColor Gets the color of the sub items.
Public methodSubItemText Get the sub item text at index i. Implementer should be aware of, that when changing a subitem text, the corresponding property (e.g. Text0) is changed. Thus, OnPropertyChanged(String) must be called for all properties that have changed.
Public methodToString Converts to string.
(Overrides ObjectToString)
Top
Events
 NameDescription
Public eventPropertyChanged Occurs when a property value changes.
Top
Fields
 NameDescription
Protected field_tag 
Protected field_text 
Top
See Also