[]
Creates a custom style (NamedStyle object) with no name and no parent.
public NamedStyle()
Public Sub New()
Creates a custom style (NamedStyle object) with the specified name.
public NamedStyle(string name)
Public Sub New(name As String)
Type | Name | Description |
---|---|---|
string | name | Name of the new NamedStyle object |
Creates a custom style (NamedStyle object) with the specified name and parent.
public NamedStyle(string name, string parentName)
Public Sub New(name As String, parentName As String)
Type | Name | Description |
---|---|---|
string | name | Name of the new NamedStyle object |
string | parentName | Parent of the new NamedStyle object |
Creates a custom style (NamedStyle object) using the specified StyleInfo object, name, and parent name.
public NamedStyle(string name, string parentName, StyleInfo style)
Public Sub New(name As String, parentName As String, style As StyleInfo)
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 |
Creates a custom style (NamedStyle object) for sharing settings across models.
protected NamedStyle(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Type | Name | Description |
---|---|---|
SerializationInfo | info | SerializationInfo |
StreamingContext | context | StreamingContext |