Class GridBaseStyleCollection
A collection that stores 'GridBaseStyle' objects.
Inheritance
System.Object
GridBaseStyleCollection
Namespace: Syncfusion.UI.Xaml.CellGrid.Styles
Assembly: Syncfusion.SfCellGrid.WPF.dll
Syntax
public class GridBaseStyleCollection : List<GridBaseStyle>
Constructors
GridBaseStyleCollection()
Initializes a new instance of 'GridBaseStyleCollection'.
Declaration
public GridBaseStyleCollection()
GridBaseStyleCollection(GridBaseStyle[])
Initializes a new instance of 'GridBaseStyleCollection' with an array of 'GridBaseStyle' objects.
Declaration
public GridBaseStyleCollection(GridBaseStyle[] griValue)
Parameters
Type | Name | Description |
---|---|---|
GridBaseStyle[] | griValue | An array of 'GridBaseStyle' objects with which to initialize the collection |
GridBaseStyleCollection(GridBaseStyleCollection)
Initializes a new instance of 'GridBaseStyleCollection' based on an already existing instance.
Declaration
public GridBaseStyleCollection(GridBaseStyleCollection griValue)
Parameters
Type | Name | Description |
---|---|---|
GridBaseStyleCollection | griValue | A 'GridBaseStyleCollection' from which the contents is copied |
Methods
AddRange(GridBaseStyle[])
Copies the elements of an array at the end of this instance of 'GridBaseStyleCollection'.
Declaration
public void AddRange(GridBaseStyle[] griValue)
Parameters
Type | Name | Description |
---|---|---|
GridBaseStyle[] | griValue | An array of 'GridBaseStyle' objects to add to the collection. |
AddRange(GridBaseStyleCollection)
Adds the contents of another 'GridBaseStyleCollection' at the end of this instance.
Declaration
public void AddRange(GridBaseStyleCollection griValue)
Parameters
Type | Name | Description |
---|---|---|
GridBaseStyleCollection | griValue | A 'GridBaseStyleCollection' containing the objects to add to the collection. |