Description |
---|
Excerpt |
---|
Sets or returns a style for the area. When a style is set - rather than applied (see Area.ApplyStyle) - the area to which the style is assigned acquires all of that style's properties, including font properties and number formatting. Setting a style overwrites any pre-existing formatting on the area. |
Signature | C# | C# |
---|---|---|
Wiki Markup | ||
{description}
{excerpt}Sets or returns a style for the area. When a style is set \- rather than applied \(see [Area.ApplyStyle|Area.ApplyStyle(Style)]\) \- the area to which the style is assigned acquires all of that style's properties, including font properties and number formatting. Setting a style overwrites any pre\-existing formatting on the area.{excerpt}
{signature:C#}
public void SetStyle(Style value)
| ||
Signature | ||
{signature}{signature:vb.net | vb.net | }
Public Sub SetStyle(ByVal value As Style)
|
Parameters |
---|
Param | style | style | |
---|---|---|---|
The Style object to assign to the area. | |||
Example | |||
Code Block | | csharp | csharp |
title | C# | ||
Code Block | vb.net | title |
...
{code}
{example}
{scrollbar} |