====== ThinkGeo.MapSuite.WindowsPhoneCore.ValueItem ====== {{section>upgrade_map_suite_to_10.0}} This class represents a single value to match and styles to draw. === Remarks === Value Style: The ValueStyle allows you to match data in the FeatureSource against a value string. If the value matches, then we will use the style defined in that item to do the drawing. For example, let's say you have some data that contains states, and each state is categorized as either a high, medium or low pollution state. Based on the string values of "High", Medium" and "Low", we can match on these. If a feature's data for the column matched the string "High", then we would use the high ValueItem's styles to draw that feature. This can be applied to all kinds of things, such as road classifications, etc. This can be somewhat slow because we have to match data from the FeatureSource. If performance is key, then instead of using the ValueStyle, we recommend that you create a set custom index for your layer, one index with only "High" elements, one for "Medium" and so on. Then load each as a separate layer. In this way, you would only have one data set, but multiple indexes. This is the fastest way if you are working with Shape Files. If you are working with spatial databases, then we suggest creating a view to segment out each category. ===== Inheritance Hierarchy ===== *System.Object **[[ThinkGeo.MapSuite.WindowsPhoneCore.ValueItem]] ===== Members Summary ===== ==== Public Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:PublicMethod.gif|Public Method}}[[#ValueItem()|ValueItem]] | | | This is a constructor for the class. | | {{wiki:PublicMethod.gif|Public Method}}[[#ValueItem(String, AreaStyle)|ValueItem]] | String, [[ThinkGeo.MapSuite.WindowsPhoneCore.AreaStyle|AreaStyle]] | | This is a constructor for the class. | | {{wiki:PublicMethod.gif|Public Method}}[[#ValueItem(String, LineStyle)|ValueItem]] | String, [[ThinkGeo.MapSuite.WindowsPhoneCore.LineStyle|LineStyle]] | | This is a constructor for the class. | | {{wiki:PublicMethod.gif|Public Method}}[[#ValueItem(String, PointStyle)|ValueItem]] | String, [[ThinkGeo.MapSuite.WindowsPhoneCore.PointStyle|PointStyle]] | | This is a constructor for the class. | | {{wiki:PublicMethod.gif|Public Method}}[[#ValueItem(String, TextStyle)|ValueItem]] | String, [[ThinkGeo.MapSuite.WindowsPhoneCore.TextStyle|TextStyle]] | | This is a constructor for the class. | | {{wiki:PublicMethod.gif|Public Method}}[[#ValueItem(String, Collection