ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
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.
<!– Class –> This class represents a single class break.
Class breaks are used in the ClassBreakStyle. They allow you to display data differently depending on ranges of data in the FeatureSource.
How class breaks work:
You add a number of ClassBreak classes to the ClassBreak collection. The numeric values of the breaks are important and you must place the breaks in numerical order. For example, break 0 must be added before break 100. In each ClassBreak, you specify the style you want to represent that break. Additionally, in the ColumnName property, you specify the name of the column where we will find the data used to compare the breaks. The column name must point to a column that is numeric.
When we proceed to draw the style, we look through the ClassBreaks and select the ClassBreak that is where the features column data is greater than and closest to the break value.
Example:
Feature Value = 42
ClassBreak1.Value = 0 ClassBreak2.Value = 20 ClassBreak3.Value = 40 ClassBreak4.Value = 60
In this case, the break closest to the feature value without exceeding it is ClassBreak3(40). If the feature value had been less than zero, nothing would have been drawn. If the feature value were 1000, then ClassBreak4 would draw.
If you wanted to represent a value that is less then zero, you could do that as shown in the sample below.
Feature Value = -1
ClassBreak1.Value = Double.Min ClassBreak2.Value = 0 ClassBreak3.Value = 20 ClassBreak4.Value = 40
In this example, the first class break would be used.
*System.Object **ThinkGeo.MapSuite.WindowsPhoneCore.ClassBreak
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
ClassBreak | This is the class constructor. | ||
ClassBreak | Double, AreaStyle | This is the class constructor. | |
ClassBreak | Double, PointStyle | This is the class constructor. | |
ClassBreak | Double, LineStyle | This is the class constructor. | |
ClassBreak | Double, TextStyle | This is the class constructor. | |
ClassBreak | Double, Collection<Style> | This is the class constructor. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
Equals | Object | Object | |
GetHashCode | Object | ||
GetType | Object | ||
ToString | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
Finalize | Object | ||
MemberwiseClone | Object |
Name | Return | DeclaringType | Summary |
---|---|---|---|
CustomStyles | Collection<Style> | This property gets a collection of custom styles used to draw the class break. | |
DefaultAreaStyle | AreaStyle | This property gets and sets the default AreaStyle used to draw the class break. | |
DefaultLineStyle | LineStyle | This property gets and sets the default LineStyle used to draw the class break. | |
DefaultPointStyle | PointStyle | This property gets and sets the default PointStyle used to draw the class break. | |
DefaultTextStyle | TextStyle | This property gets and sets the default TextStyle used to draw the class break. | |
Value | Double | This property get and sets the break value. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|
This is the class constructor.
This is the default constructor.
If you use this default constructor, then you should set the properties manually.
Name | Type | Description |
---|
This is the class constructor.
This overload allows you to pass in a break value and an AreaStyle to use.
This overload allows you to pass in a break value and an AreaStyle to use.
Name | Type | Description |
---|---|---|
value | Double<!– System.Double –> | The parameter represents the break value. |
areaStyle | AreaStyle<!– ThinkGeo.MapSuite.WindowsPhoneCore.AreaStyle –> | This parameter is the AreaStyle you want to use to represent this break. |
This is the class constructor.
This overload allows you to pass in a break value and a Point to use.
This overload allows you to pass in a break value and a Point to use.
Name | Type | Description |
---|---|---|
value | Double<!– System.Double –> | The parameter represents the break value. |
pointStyle | PointStyle<!– ThinkGeo.MapSuite.WindowsPhoneCore.PointStyle –> | This parameter is the PointStyle you want to use to represent this break. |
This is the class constructor.
This overload allows you to pass in a break value and a LineStyle to use.
This overload allows you to pass in a break value and a LineStyle to use.
Name | Type | Description |
---|---|---|
value | Double<!– System.Double –> | The parameter represents the break value. |
lineStyle | LineStyle<!– ThinkGeo.MapSuite.WindowsPhoneCore.LineStyle –> | This parameter is the LineStyle you want to use to represent this break. |
This is the class constructor.
This overload allows you to pass in a break value and a TextStyle to use.
This overload allows you to pass in a break value and a TextStyle to use.
Name | Type | Description |
---|---|---|
value | Double<!– System.Double –> | The parameter represents the break value. |
textStyle | TextStyle<!– ThinkGeo.MapSuite.WindowsPhoneCore.TextStyle –> | This parameter is the TextStyle you want to use to represent this break. |
This is the class constructor.
This overload allows you to pass in a break value and a collection of TextStyles to use.
This overload allows you to pass in a break value and a collection of TextStyles to use.
Name | Type | Description |
---|---|---|
value | Double<!– System.Double –> | The parameter represents the break value. |
customStyles | Collection<Style><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.WindowsPhoneCore.Style} –> | This parameter is the TextStyles you want to use to represent this break. |
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This property gets a collection of custom styles used to draw the class break.
If you set these styles, then when the data for a feature is within the current break it will use this style to draw.
If you do not wish to use the default style properties, then you can use this collection to specify any types of styles you want to use.
Return Type |
---|
Collection<Style><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.WindowsPhoneCore.Style} –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.ClassBreak –> Go Back
This property gets and sets the default AreaStyle used to draw the class break.
If you set this style, then when the data for a feature is within the current break it will use this style to draw.
If you use the default styles, then you should only use one. The one you use should match your feature data. For example, if your features are lines, then you should use the DefaultLineStyle.
Return Type |
---|
AreaStyle<!– ThinkGeo.MapSuite.WindowsPhoneCore.AreaStyle –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.ClassBreak –> Go Back
This property gets and sets the default LineStyle used to draw the class break.
If you set this style, then when the data for a feature is within the current break it will use this style to draw.
If you use the default styles, then you should only use one. The one you use should match your feature data. For example, if your features are lines, then you should use the DefaultLineStyle.
Return Type |
---|
LineStyle<!– ThinkGeo.MapSuite.WindowsPhoneCore.LineStyle –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.ClassBreak –> Go Back
This property gets and sets the default PointStyle used to draw the class break.
If you set this style, then when the data for a feature is within the current break it will use this style to draw.
If you use the default styles, then you should only use one. The one you use should match your feature data. For example, if your features are lines, then you should use the DefaultLineStyle.
Return Type |
---|
PointStyle<!– ThinkGeo.MapSuite.WindowsPhoneCore.PointStyle –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.ClassBreak –> Go Back
This property gets and sets the default TextStyle used to draw the class break.
If you set this style, then when the data for a feature is within the current break it will use this style to draw.
If you use the default styles, then you should only use one. The one you use should match your feature data. For example, if your features are lines then you should use the DefaultLineStyle.
Return Type |
---|
TextStyle<!– ThinkGeo.MapSuite.WindowsPhoneCore.TextStyle –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.ClassBreak –> Go Back
This property get and sets the break value.
This value determines where the break is in the ClassBreakStyle.
Please see the ClassBreakStyle class remarks for a full description of how the ClassBreakStyle works.
Return Type |
---|
Double<!– System.Double –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.ClassBreak –> Go Back