Spread WPF Documentation
Add(String,String) Method


GrapeCity.Windows.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 System.String, _
   ByVal parentName As System.String _
) As StyleInfo
'Usage
 
Dim instance As StyleInfoCollection
Dim name As System.String
Dim parentName As System.String
Dim value As StyleInfo
 
value = instance.Add(name, parentName)
public virtual StyleInfo Add( 
   System.string name,
   System.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