| Visual Basic (Declaration) | |
|---|---|
Public Property NamedStyles As NamedStyleCollection | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public NamedStyleCollection NamedStyles {get; set;} | |
Return Value
NamedStyleCollection object containing the collection of styles
This example creates a named style and adds it to the collection of named styles of the active sheet.
| C# | Copy Code |
|---|---|
FarPoint.Win.Spread.NamedStyle style = new FarPoint.Win.Spread.NamedStyle(); | |
| Visual Basic | Copy Code |
|---|---|
Dim style As New FarPoint.Win.Spread.NamedStyle() | |
By default, this collection of named styles is shared between all sheets and style models in the component. When set, the sheets and style models in the component that referenced the old named style (from the NamedStyleCollection object) are updated to refer to the new one.
This property is available at run time only.
Reference
SheetView ClassSheetView Members