Description
Returns a NamedStyle object that represents the named style that has the specified built in name.
C#
public NamedStyle this[BuiltIn name] { get; }
vb.net
Public Default ReadOnly Property Item(ByVal name As BuiltIn) As NamedStyle
Parameters
name
A NamedStyle.BuiltIn enumeration that represents the name of the style to retrieve.Returns
ANamedStyle object that represents the named style that has the specified built in name.
Examples
C#
//--- Get Style by name
NamedStyle myStyle = styls[NamedStyle.BuiltIn.Normal];
vb.net
'--- Get Style by name
Dim myStyle As NamedStyle = styls.Item(NamedStyle.BuiltIn.Normal)
