Click or drag to resize

GraphicCollection Class

Summary description for GraphicsObjectCollection.
Inheritance Hierarchy

Namespace: Altaxo.Graph.Gdi.Shapes
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
[SerializableAttribute]
public class GraphicCollection : PartitionableList<IGraphicBase>

The GraphicCollection type exposes the following members.

Constructors
 NameDescription
Public methodGraphicCollectionInitializes a new instance of the GraphicCollection class
Top
Properties
 NameDescription
Public propertyCountGets the number of elements actually contained in the CollectionT.
(Inherited from CollectionIGraphicBase)
Public propertyItemGets or sets the element at the specified index.
(Inherited from CollectionIGraphicBase)
Protected propertyItemsGets a IListT wrapper around the CollectionT.
(Inherited from CollectionIGraphicBase)
Top
Methods
 NameDescription
Public methodAddAdds an object to the end of the CollectionT.
(Inherited from CollectionIGraphicBase)
Public methodAddRange
(Inherited from PartitionableListT)
Protected methodBlockReentrancyDisallows reentrant attempts to change this collection.
(Inherited from ObservableCollectionIGraphicBase)
Protected methodCheckReentrancyChecks for reentrant attempts to change this collection.
(Inherited from ObservableCollectionIGraphicBase)
Public methodClearRemoves all elements from the CollectionT.
(Inherited from CollectionIGraphicBase)
Protected methodClearItems
(Inherited from PartitionableListT)
Public methodContainsDetermines whether an element is in the CollectionT.
(Inherited from CollectionIGraphicBase)
Public methodCopyToCopies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionIGraphicBase)
Public methodCreatePartialView(FuncT, Boolean) Creates a partial view. A partial view is a view of the list of items of the original collection, that fulfill a certain condition.
(Inherited from PartitionableListT)
Public methodCreatePartialView(FuncT, Boolean, ActionT) Creates a partial view. A partial view is a view of the list of items of the original collection, that fulfill a certain condition.
(Inherited from PartitionableListT)
Public methodCreatePartialViewOfTypeM Creates the partial view that consists of all elements in the original collection that are of type M.
(Inherited from PartitionableListT)
Public methodCreatePartialViewOfTypeM(ActionM) Creates the partial view that consists of all elements in the original collection that are of type M.
(Inherited from PartitionableListT)
Public methodCreatePartialViewOfTypeM(FuncM, Boolean) Creates the partial view that consisist of elements of type M that fullfil a given condition.
(Inherited from PartitionableListT)
Public methodCreatePartialViewOfTypeM(FuncM, Boolean, ActionM) Creates the partial view that consisist of elements of type M that fullfil a condition provided by the argument selectionCriterium.
(Inherited from PartitionableListT)
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 methodGetEnumeratorReturns an enumerator that iterates through the CollectionT.
(Inherited from CollectionIGraphicBase)
Public methodGetEventDisableToken Gets a token that will temporarily disable the CollectionChanged events from this collection. The best practice is to use this token inside a using statement, because at the end of the using statement the Dispose function of the token is called automatically, which then reenables the events.
(Inherited from PartitionableListT)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionIGraphicBase)
Public methodInsertInserts an element into the CollectionT at the specified index.
(Inherited from CollectionIGraphicBase)
Protected methodInsertItem
(Inherited from PartitionableListT)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMoveMoves the item at the specified index to a new location in the collection.
(Inherited from ObservableCollectionIGraphicBase)
Protected methodMoveItem
(Inherited from PartitionableListT)
Protected methodNotifyPartialViewsThatHaveChanged Notifies the partial views that have changed after each operation.
(Inherited from PartitionableListT)
Protected methodOnCollectionChanged
(Inherited from PartitionableListT)
Protected methodOnPropertyChangedRaises the PropertyChanged event with the provided arguments.
(Inherited from ObservableCollectionIGraphicBase)
Protected methodOnReenableEvents
(Inherited from PartitionableListT)
Public methodRemoveRemoves the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionIGraphicBase)
Public methodRemoveAtRemoves the element at the specified index of the CollectionT.
(Inherited from CollectionIGraphicBase)
Protected methodRemoveItem
(Inherited from PartitionableListT)
Protected methodSetItem
(Inherited from PartitionableListT)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventCollectionChangedOccurs when an item is added, removed, changed, moved, or the entire list is refreshed.
(Inherited from ObservableCollectionIGraphicBase)
Protected eventPropertyChangedOccurs when a property value changes.
(Inherited from ObservableCollectionIGraphicBase)
Top
Fields
 NameDescription
Protected field_actionBeforeInsertion Defines an action that is executed before an item is inserted. The 1st argument is the item to insert.
(Inherited from PartitionableListT)
Protected field_eventState Get information whether the CollectionChanged events are enabled or disabled.
(Inherited from PartitionableListT)
Protected field_partialViewsContains all partial views that were created for this instance and are still alive.
(Inherited from PartitionableListT)
Protected field_partialViewsToNotify The partial views that need to notify after modifications that they have changed.
(Inherited from PartitionableListT)
Top
Extension Methods
See Also