FlexGrid for WinForms
Add(String,String) Method



Name of the new style.
Name of the base style, used to initialize the properties of the new style.
Adds new CellStyle object to the collection.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal name As String, _
   ByVal basedOn As String _
) As CellStyle
'Usage
 
Dim instance As CellStyleCollection
Dim name As String
Dim basedOn As String
Dim value As CellStyle
 
value = instance.Add(name, basedOn)

Parameters

name
Name of the new style.
basedOn
Name of the base style, used to initialize the properties of the new style.

Return Value

The new CellStyle object.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CellStyleCollection Class
CellStyleCollection Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback