Class Bars
Holds a list of Bar instances.
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class Bars : ArrayListExt, IDisposable
Remarks
Used by a BarManager class to hold a list of bar instances representing the tool bars.
Examples
Take a look at our XPMenus samples under the Tools\Samples\Menus Package folder for usage example.
Constructors
Bars()
Creates a new instance of the Bars class.
Declaration
public Bars()
Properties
Item[Int32]
Returns a bar instance at the specified index.
Declaration
public Bar this[int index] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | The index where a bar is searched for. |
Property Value
| Type | Description |
|---|---|
| Bar | The bar at the specified index. |
Methods
Add(Object)
Overridden. See Add(Object).
Declaration
public override int Add(object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value |
Returns
| Type |
|---|
| System.Int32 |
Overrides
AddHandlers(Object)
Overridden. See AddHandlers(Object).
Declaration
protected override void AddHandlers(object item)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | item |
Overrides
Contains(Object)
Declaration
public override bool Contains(object item)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | item |
Returns
| Type |
|---|
| System.Boolean |
Dispose()
Declaration
public virtual void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
OnItemPropertyChanged(Object, SyncfusionPropertyChangedEventArgs)
Overridden. See OnItemPropertyChanged(Object, SyncfusionPropertyChangedEventArgs).
Declaration
protected override void OnItemPropertyChanged(object sender, SyncfusionPropertyChangedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | sender | |
| SyncfusionPropertyChangedEventArgs | e |
Overrides
Remove(Object)
Declaration
public override void Remove(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj |
Implements
System.IDisposable