Xceed Grid for WinForms v4.3 Documentation
Add Method (CustomStyleList)


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Exporting Namespace > CustomStyleList Class : Add Method
The ExcelStyle to be added to the CustomStyleList
Adds an ExcelStyle to the CustomStyleList.
Syntax
'Declaration
 
Public Function Add( _
   ByVal excelStyle As ExcelStyle _
) As String
'Usage
 
Dim instance As CustomStyleList
Dim excelStyle As ExcelStyle
Dim value As String
 
value = instance.Add(excelStyle)
public string Add( 
   ExcelStyle excelStyle
)

Parameters

excelStyle
The ExcelStyle to be added to the CustomStyleList

Return Value

The unique ID of the style to be used when referencing it in an XMLSS element's StyleID attribute.
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

CustomStyleList Class
CustomStyleList Members