GrapeCity.Xaml.SpreadSheet.Data
Add(String,String) Method


GrapeCity.Xaml.SpreadSheet.Data Namespace > StyleInfoCollection Class > Add Method : Add(String,String) Method
The name of the style to add.
The parent style to add.
Adds a style (StyleInfo object) to the collection as a child of the specified parent.
Syntax
'Declaration
 
Public Overloads Overridable Function Add( _
   ByVal name As String, _
   ByVal parentName As String _
) As StyleInfo
'Usage
 
Dim instance As StyleInfoCollection
Dim name As String
Dim parentName As String
Dim value As StyleInfo
 
value = instance.Add(name, parentName)
public virtual StyleInfo Add( 
   string name,
   string parentName
)

Parameters

name
The name of the style to add.
parentName
The parent style to add.

Return Value

The cell style.
See Also

Reference

StyleInfoCollection Class
StyleInfoCollection Members
Overload List