Class BarCollection
Stores collection of Bar instances.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools.Navigation
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class BarCollection : ObservableCollection<Bar>
Constructors
BarCollection()
Declaration
public BarCollection()
Methods
AddRange(Bar[])
Adds the range an array of Bars.
Declaration
public void AddRange(Bar[] bars)
Parameters
| Type | Name | Description |
|---|---|---|
| Bar[] | bars | An array of Bars objects representing the bars to add to the collection. |
FindByText(String)
Finds the Bar by its text.
Declaration
public int FindByText(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | text | The text. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Index of found Bar or -1 otherwise. |