Search
Style Members
Constructors Properties Methods
 


Encapsulates the appearance properties of an element in a lane grid.

The following tables list the members exposed by the Style type.

 Public Constructors

  Name Description

Style

Initializes a new instance of the Style class.

 Public Properties

  Name Description

backgroundBrush

Gets or sets the background brush of this style.

bottomBorderPen

Gets or sets the color used to stoke the bottom border of elements with this style.

bottomBorderThickness

Gets or sets the width of the bottom border of elements with this style.

fontName

Gets or sets the name of the font used to draw texts with this style.

fontSize

Gets or sets the size of the font used to draw texts with this style.

leftBorderPen

Gets or sets the color used to stoke the left border of elements with this style.

leftBorderThickness

Gets or sets the width of the left border of elements with this style.

lineAlignment

Gets or sets a value indicating how to vertically align texts drawn with this style.

rightBorderPen

Gets or sets the color used to stoke the right border of elements with this style.

rightBorderThickness

Gets or sets the width of the right border of elements with this style.

textAlignment

Gets or sets a value indicating how to horizontally align texts drawn with this style.

textColor

Gets or sets the color used to draw texts with this style.

topBorderPen

Gets or sets the color used to stoke the top border of elements with this style.

topBorderThickness

Gets or sets the width of the top border of elements with this style.

 Public Methods

  Name Description

loadFromXml

Loads the style from the specified XML element

saveToXml

Serializes the lane style to the specified XML element

 See Also