====== ThinkGeo.MapSuite.WindowsPhoneCore.ClassBreak ====== {{section>upgrade_map_suite_to_10.0}} This class represents a single class break. === Remarks === 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. ===== Inheritance Hierarchy ===== *System.Object **[[ThinkGeo.MapSuite.WindowsPhoneCore.ClassBreak]] ===== Members Summary ===== ==== Public Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:PublicMethod.gif|Public Method}}[[#ClassBreak()|ClassBreak]] | | | This is the class constructor. | | {{wiki:PublicMethod.gif|Public Method}}[[#ClassBreak(Double, AreaStyle)|ClassBreak]] | Double, [[ThinkGeo.MapSuite.WindowsPhoneCore.AreaStyle|AreaStyle]] | | This is the class constructor. | | {{wiki:PublicMethod.gif|Public Method}}[[#ClassBreak(Double, PointStyle)|ClassBreak]] | Double, [[ThinkGeo.MapSuite.WindowsPhoneCore.PointStyle|PointStyle]] | | This is the class constructor. | | {{wiki:PublicMethod.gif|Public Method}}[[#ClassBreak(Double, LineStyle)|ClassBreak]] | Double, [[ThinkGeo.MapSuite.WindowsPhoneCore.LineStyle|LineStyle]] | | This is the class constructor. | | {{wiki:PublicMethod.gif|Public Method}}[[#ClassBreak(Double, TextStyle)|ClassBreak]] | Double, [[ThinkGeo.MapSuite.WindowsPhoneCore.TextStyle|TextStyle]] | | This is the class constructor. | | {{wiki:PublicMethod.gif|Public Method}}[[#ClassBreak(Double, Collection