[]
        
(Showing Draft Content)

C1.Win.Map.Style

Style Class

Represents the appearance of map elements.

Inheritance
Style
Implements
Namespace: C1.Win.Map
Assembly: C1.Win.Map.4.8.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class Style : StyleObject, IMapStyle

Constructors

Name Description
Style(Style)

Initializes a new instance of Style object.

Properties

Name Description
Alignment

Gets or sets the alignment of the content.

BackColor

Gets or sets the background color.

BackColor2

Gets or sets the second gradient background color.

Border

Gets the border object.

Font

Gets or sets the font object.

ForeColor

Gets or sets the foreground color.

GradientStyle

Gets or sets the type of gradient background filling.

Stroke

Gets the line object for stroke line.

Methods

Name Description
ResetAlignment()

Resets the Alignment to default state.

ResetBackColor()

Resets the BackColor to default state.

ResetBackColor2()

Resets the BackColor2 to default state.

ResetBorder()

Resets the Border to default state.

ResetFont()

Resets the Font to default state.

ResetForeColor()

Resets the ForeColor to default state.

ResetGradientStyle()

Resets the GradientStyle to default state.

ResetStroke()

Resets the Stroke to default state.

ShouldSerializeAlignment()

Returns false if Alignment is in default state.

ShouldSerializeBackColor()

Returns false if BackColor is in default state.

ShouldSerializeBackColor2()

Returns false if BackColor2 is in default state.

ShouldSerializeBorder()

Returns false if Border is in default state.

ShouldSerializeFont()

Returns false if Font is in default state.

ShouldSerializeForeColor()

Returns false if ForeColor is in default state.

ShouldSerializeGradientStyle()

Returns false if GradientStyle is in default state.

ShouldSerializeStroke()

Returns false if Stroke is in default state.