Spread WPF Documentation
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.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

StyleInfoCollection Class
StyleInfoCollection Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.