Share via


GridSerializer.CellStyles Property

Gets a mapping of cell style IDs, represented as strings, to cell styles.

Namespace:  Microsoft.SharePoint.JSGrid
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property CellStyles As IDictionary(Of String, CellStyle)
    Get
'Usage
Dim instance As GridSerializer
Dim value As IDictionary(Of String, CellStyle)

value = instance.CellStyles
public IDictionary<string, CellStyle> CellStyles { get; }

Property Value

Type: System.Collections.Generic.IDictionary<String, CellStyle>
A IDictionary<TKey, TValue> mapping cell style IDs to cell styles.

Remarks

These cell styles IDs can be referenced when populating the GridRowStyleIdColumnName, and the cell styles will be registered on the client. CellStyles is only used if serialization mode is set to full or table view.

See Also

Reference

GridSerializer Class

GridSerializer Members

Microsoft.SharePoint.JSGrid Namespace