Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

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#
 public void SetStyle(Style value)
{signature}{signature:
}
Signature
vb.net
vb.net
Public Sub SetStyle(ByVal value As Style)
{signature}
{parameters}
{param:style}The [Style|Style] object to assign to the area.{param}
{example}{code:csharp|title=C#}
Parameters
Param
style
style

The Style object to assign to the area.

Example
Code Block
csharp
csharp
titleC#

a.SetStyle(styl);
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

a.SetStyle(styl)
{code} {example} {scrollbar}
Scrollbar