Table of Contents

ThinkGeo.MapSuite.SilverlightCore.QualityFamilyAreaStyle

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

QualityFamilyAreaStyle()

This is the constructor the for the class. If you use this constructor, then you need to set the required properties manually.

Remarks

None

Parameters

QualityFamilyAreaStyle(GeoPen,GeoColor,Int32)

This is the constructor the for the class.

Remarks

None.

Parameters

QualityFamilyAreaStyle(GeoPen,GeoColor,Int32,PenBrushDrawingOrder)

This is the constructor the for the class.

Remarks

None.

Parameters

Protected Constructors

Public Methods

ClearCache()

This method clears the cached style in the cache.

Remarks

This method clears the cached style in the cache.

Return Value
Parameters

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

N/A

Remarks

N/A

Return Value
Parameters

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

N/A

Remarks

N/A

Return Value
Parameters

GetRequiredColumnNames()

N/A

Remarks

N/A

Return Value
Parameters

DrawSample(GeoCanvas,DrawingRectangleF)

N/A

Remarks

N/A

Return Value
Parameters

ToString()

N/A

Remarks

N/A

Return Value
Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value
Parameters

GetHashCode()

N/A

Remarks

N/A

Return Value
Parameters

GetType()

N/A

Remarks

N/A

Return Value
Parameters

Protected Methods

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

This method draws the features on the canvas you provided.

Remarks

This overridden method is called from the concrete public method Draw. In this method, we take the features you passed in and draw them on the canvas you provided. Each style (based on its properties) may draw each feature differently. When overriding this method, consider each feature and its column data values. You can use the full power of the GeoCanvas to do the drawing. If you need column data for a feature, be sure to override the GetRequiredColumnNamesCore and add the columns you need to the collection. In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore, we read that property and add it to the collection.

Return Value
Parameters

DrawSampleCore(GeoCanvas,DrawingRectangleF)

N/A

Remarks

N/A

Return Value
Parameters

GetRequiredColumnNamesCore()

N/A

Remarks

N/A

Return Value
Parameters

Finalize()

N/A

Remarks

N/A

Return Value
Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value
Parameters

Public Properties

NumberOfColors

This gets or sets the number of colors in the style.

Remarks

None.

Return Value

Cache

This gets the cached style in the class.

Remarks

This gets the cached style in the class. The key of the style in the cache is feature.Id & feature.GetHashCode().

Return Value

BaseColor

This gets or sets the base color of the style.

Remarks

None.

Return Value

XOffsetInPixel

N/A

Remarks

N/A

Return Value

YOffsetInPixel

N/A

Remarks

N/A

Return Value

FillSolidBrush

N/A

Remarks

N/A

Return Value

CustomAreaStyles

N/A

Remarks

N/A

Return Value

OutlinePen

N/A

Remarks

N/A

Return Value

PenBrushDrawingOrder

N/A

Remarks

N/A

Return Value

Advanced

N/A

Remarks

N/A

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