Table of Contents

ThinkGeo.MapSuite.SilverlightCore.AreaStyle

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

This class is used to draw area features.

Inheritance Hierarchy

Members Summary

Public Constructors

AreaStyle()

Remarks
Parameters

AreaStyle(GeoSolidBrush)

Remarks
Parameters

AreaStyle(GeoPen)

Remarks
Parameters

AreaStyle(GeoPen,GeoSolidBrush)

Remarks
Parameters

AreaStyle(GeoPen,GeoSolidBrush,PenBrushDrawingOrder)

Remarks
Parameters

Protected Constructors

Public Methods

Draw(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)

Remarks
Return Value
Parameters

Draw(IEnumerable<BaseShape>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)

Remarks
Return Value
Parameters

GetRequiredColumnNames()

Remarks
Return Value
Parameters

DrawSample(GeoCanvas,DrawingRectangleF)

Remarks
Return Value
Parameters

ToString()

Remarks
Return Value
Parameters

Equals(Object)

Remarks
Return Value
Parameters

GetHashCode()

Remarks
Return Value
Parameters

GetType()

Remarks
Return Value
Parameters

Protected Methods

DrawCore(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)

Remarks
Return Value
Parameters

DrawSampleCore(GeoCanvas,DrawingRectangleF)

Remarks
Return Value
Parameters

GetRequiredColumnNamesCore()

Remarks
Return Value
Parameters

Finalize()

Remarks
Return Value
Parameters

MemberwiseClone()

Remarks
Return Value
Parameters

Public Properties

XOffsetInPixel

This property gets and sets the X pixel offset for drawing each feature.

Remarks

This property allows you to specify an X offset. When combined with a Y offset, it enables you to achieve effects such as drop shadows, etc. There also may be times when you need to modify the location of feature data so as to align it with raster satellite data.

Return Value

YOffsetInPixel

This property gets and sets the Y pixel offset for drawing each feature.

Remarks

This property allows you to specify a Y offset. When combined with an X offset, it enables you to achieve effects such as drop shadows, etc. There also may be times when you need to modify the location of feature data so as to align it with raster satellite data.

Return Value

FillSolidBrush

This property gets and sets the solid brush you want to use to fill in the area features.

Remarks

This solid brush is used to fill in the area features that will draw. You can also optionally specify an outline pen to give the area an outline. The default solid brush has a fill color of transparent, which means it will not draw anything.

Return Value

CustomAreaStyles

This property returns a collection of area styles, allowing you to stack multiple area styles on top of each other.

Remarks

Using this collection, you can stack multiple area styles on top of each other. When we draw the features, we will draw them in order that they exist in the collection. You can use these stacks to create drop shadow effects, multiple colored outlines, etc.

Return Value

OutlinePen

This property gets and sets the outline pen you want to use to outline the features.

Remarks

This outline pen is used to outline the features that will draw. You can also optionally specify a fill brush to give the area a solid fill. The default outline pen color is transparent, which means it will not draw anything.

Return Value

PenBrushDrawingOrder

This property gets and sets the pen and brush drawing order.

Remarks

This property controls whether the outline pen or the fill brush is drawn first. The default is for the fill brush to be drawn first. If you have the outline pen draw first then the thickness of the pen will be smaller, creating a subtle but noticeable effect.

Return Value

Advanced

This property lets you access the advanced properties of the style.

Remarks

This property lets you access the advanced properties of the style.

Return Value

Name

N/A

Remarks

N/A

Return Value

IsActive

N/A

Remarks

N/A

Return Value

RequiredColumnNames

N/A

Remarks

N/A

Return Value

Protected Properties

bho=

N/A

Remarks

N/A

Return Value

Public Events