[]
        
(Showing Draft Content)

FarPoint.Web.Spread.NamedStyle.-ctor

NamedStyle Constructor

NamedStyle()

Creates a custom style (NamedStyle object) with no name and no parent.

Declaration
public NamedStyle()
Public Sub New()

NamedStyle(string)

Creates a custom style (NamedStyle object) with the specified name.

Declaration
public NamedStyle(string name)
Public Sub New(name As String)
Parameters
Type Name Description
string name

Name of the new NamedStyle object

NamedStyle(string, string)

Creates a custom style (NamedStyle object) with the specified name and parent.

Declaration
public NamedStyle(string name, string parentName)
Public Sub New(name As String, parentName As String)
Parameters
Type Name Description
string name

Name of the new NamedStyle object

string parentName

Parent of the new NamedStyle object

NamedStyle(string, string, StyleInfo)

Creates a custom style (NamedStyle object) using the specified StyleInfo object, name, and parent name.

Declaration
public NamedStyle(string name, string parentName, StyleInfo style)
Public Sub New(name As String, parentName As String, style As StyleInfo)
Parameters
Type Name Description
string name

Name of the new style (NamedStyle object)

string parentName

Parent of the new style (NamedStyle object)

StyleInfo style

StyleInfo object

NamedStyle(SerializationInfo, StreamingContext)

Creates a custom style (NamedStyle object) for sharing settings across models.

Declaration
protected NamedStyle(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Parameters
Type Name Description
SerializationInfo info

SerializationInfo

StreamingContext context

StreamingContext