Class BlocksCollection
Collection of blocks of the element.
Inheritance
System.Object
BlocksCollection
Namespace: Syncfusion.Windows.Forms.HTMLUI
Assembly: Syncfusion.HTMLUI.Windows.dll
Syntax
public sealed class BlocksCollection : CollectionBase
Constructors
BlocksCollection()
Initializes a new instance of the BlocksCollection class
Declaration
public BlocksCollection()
Properties
Item[Int32]
Returns the block object with the specified index.
Declaration
public Block this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | Index number |
Property Value
| Type |
|---|
| Block |
Methods
Add(Block)
Adds the specified block to the collection.
Declaration
public void Add(Block block)
Parameters
| Type | Name | Description |
|---|---|---|
| Block | block | Object to be added into the collection. |
Clear()
Clears the collection.
Declaration
public void Clear()
Remove(Block)
Removes the specified element from the collection.
Declaration
public void Remove(Block block)
Parameters
| Type | Name | Description |
|---|---|---|
| Block | block | Object for removing from the collection. |
RemoveAt(Int32)
Removes the object at the specified index of the collection.
Declaration
public void RemoveAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | Index of the element in the collection. |