Click or drag to resize

IndexLoop Class

The IndexLoop helps to cycle through loop of indexes
Inheritance Hierarchy
SystemObject
  HightlanderSolutions.MeshCheckerEditorExtension.MeshAnalysisFrameworkIndexLoop

Namespace:  HightlanderSolutions.MeshCheckerEditorExtension.MeshAnalysisFramework
Assembly:  MeshCheckerLibrary (in MeshCheckerLibrary.dll) Version: 2.3
Syntax
C#
[PublicAPIAttribute]
public class IndexLoop

The IndexLoop type exposes the following members.

Constructors
  NameDescription
Public methodIndexLoop
Initializes a new instance of the IndexLoop class. New instance is empty.
Public methodIndexLoop(Int32)
Initializes a new instance of the IndexLoop class. Indices will be in range from 0 to specified value.
Public methodIndexLoop(Int32, Int32)
Initializes a new instance of the IndexLoop class. Indices will be in the specified range.
Top
Properties
  NameDescription
Public propertyCurrent
Gets currently selected index value.

In interval from Min (inclusive) to Max (inclusive).

Public propertyMax
Gets maximal index in loop.
Public propertyMin
Gets minimal index in loop.
Public propertyNotSelected
Gets a value indicating whether nothing selected.

Opposite to Selected

Public propertySelected
Gets a value indicating whether one of indices is selected.

Opposite to NotSelected

Top
Methods
  NameDescription
Public methodDeselect
Deselect current index.
Public methodDraw
Draws IndexLoop toolbar GUI in Layout zone.
Public methodNext
Selects next index in loop.

If next index greater then Max value then Min value will be selected.

Public methodPrevious
Selects previous index in loop.

If previous index lesser then Min value then Max value will be selected.

Public methodRelease
Remove subscribers from events and prepare for GC.
Public methodSet
Selects the specified index.
Public methodCode exampleToString(String)
Converts the loop value to its string representation.
Public methodToString(IndexLoopLoopStringFormat)
Converts the loop value to its string representation.
Top
Events
  NameDescription
Public eventSelectionChangedEvent
Rised when Current index change.
Public eventSelectionRemovedEvent
Rised when selection is removed.
Top
See Also