Table of Contents

ThinkGeo.MapSuite.Core.RegexStyle

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 allows you to draw features differently based on regular expression matching.

Inheritance Hierarchy

Members Summary

Public Constructors

RegexStyle()

Remarks
Parameters

RegexStyle(String,Collection<RegexItem>)

Remarks
Parameters

RegexStyle(String,Collection<RegexItem>,RegexMatching)

Remarks
Parameters

Protected Constructors

Public Methods

CloneDeep()

Remarks
Return Value
Parameters

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

DrawSample(GeoCanvas)

Remarks
Return Value
Parameters

SaveStyle(String)

Remarks
Return Value
Parameters

SaveStyle(Stream)

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

GetRequiredColumnNamesCore()

Remarks
Return Value
Parameters

CloneDeepCore()

Remarks
Return Value
Parameters

DrawSampleCore(GeoCanvas,DrawingRectangleF)

Remarks
Return Value
Parameters

Finalize()

Remarks
Return Value
Parameters

MemberwiseClone()

Remarks
Return Value
Parameters

Public Properties

RegexMatchingRule

This property gets and sets the regular expression matching rule. The rule determines whether we match the entire string or just any portion of it.

Remarks

This is used to determine how much of a string needs to match a regular expression in order to declare it a match for that expression. Sometimes, you only need one part of the string to match in order for the expression to be considered a match; other times you may want the entire string to match.

Return Value

ColumnName

This property gets and sets the column name whose value will be tested against the regular expression.

Remarks

This is the column we use for matching.

Return Value

RegexItems

This property gets the collection of RegexItems. Each item can have its own regular expression to match.

Remarks

You will want to add RegexItems to this collection. Each item can have its own style and matching string.

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

Filters

N/A

Remarks

N/A

Return Value

Protected Properties

FiltersCore

N/A

Remarks

N/A

Return Value

Public Events