This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.core.valueitem [2015/09/17 10:41] admin |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ThinkGeo.MapSuite.Core.ValueItem ====== | ||
- | This class represents a single value to match and styles to draw. | ||
- | ===== Inheritance Hierarchy ===== | ||
- | *System.Object | ||
- | ***ThinkGeo.MapSuite.Core.ValueItem** | ||
- | ===== Members Summary ===== | ||
- | === Public Constructors === | ||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#ValueItem()|ValueItem]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:N/A | ||
- | * **Summary**:This is a constructor for the class. | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#ValueItem(String,AreaStyle)|ValueItem]]** | ||
- | * **Parameters**:String,[[ThinkGeo.MapSuite.Core.AreaStyle|AreaStyle]] | ||
- | * **DeclaringType**:N/A | ||
- | * **Summary**:This is a constructor for the class. | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#ValueItem(String,LineStyle)|ValueItem]]** | ||
- | * **Parameters**:String,[[ThinkGeo.MapSuite.Core.LineStyle|LineStyle]] | ||
- | * **DeclaringType**:N/A | ||
- | * **Summary**:This is a constructor for the class. | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#ValueItem(String,PointStyle)|ValueItem]]** | ||
- | * **Parameters**:String,[[ThinkGeo.MapSuite.Core.PointStyle|PointStyle]] | ||
- | * **DeclaringType**:N/A | ||
- | * **Summary**:This is a constructor for the class. | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#ValueItem(String,TextStyle)|ValueItem]]** | ||
- | * **Parameters**:String,[[ThinkGeo.MapSuite.Core.TextStyle|TextStyle]] | ||
- | * **DeclaringType**:N/A | ||
- | * **Summary**:This is a constructor for the class. | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#ValueItem(String,Collection<Style>)|ValueItem]]** | ||
- | * **Parameters**:String,Collection<[[ThinkGeo.MapSuite.Core.Style|Style]]> | ||
- | * **DeclaringType**:N/A | ||
- | * **Summary**:This is a constructor for the class. | ||
- | </div> | ||
- | |||
- | === Protected Constructors === | ||
- | === Public Methods === | ||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#Equals(Object)|Equals]]** | ||
- | * **Parameters**:Object | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#GetHashCode()|GetHashCode]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#GetType()|GetType]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#ToString()|ToString]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | === Protected Methods === | ||
- | <div class_table> | ||
- | **{{wiki:ProtectedMethod.gif|}}[[#Finalize()|Finalize]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:ProtectedMethod.gif|}}[[#MemberwiseClone()|MemberwiseClone]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | === Public Properties === | ||
- | **{{wiki:PublicProperty.gif|}}[[#CustomStyles|CustomStyles]]** | ||
- | * **Return**:Collection<[[ThinkGeo.MapSuite.Core.Style|Style]]> | ||
- | * **Summary**:This property gets the collection of custom styles. | ||
- | |||
- | **{{wiki:PublicProperty.gif|}}[[#DefaultAreaStyle|DefaultAreaStyle]]** | ||
- | * **Return**:[[ThinkGeo.MapSuite.Core.AreaStyle|AreaStyle]] | ||
- | * **Summary**:This property gets and sets the default AreaStyle. You should use this style if your features are area-based. | ||
- | |||
- | **{{wiki:PublicProperty.gif|}}[[#DefaultLineStyle|DefaultLineStyle]]** | ||
- | * **Return**:[[ThinkGeo.MapSuite.Core.LineStyle|LineStyle]] | ||
- | * **Summary**:This property gets and sets the default LineStyle. You should use this style if your features are line-based. | ||
- | |||
- | **{{wiki:PublicProperty.gif|}}[[#DefaultPointStyle|DefaultPointStyle]]** | ||
- | * **Return**:[[ThinkGeo.MapSuite.Core.PointStyle|PointStyle]] | ||
- | * **Summary**:This property gets and sets the default PointStyle. You should use this style if your features are point-based. | ||
- | |||
- | **{{wiki:PublicProperty.gif|}}[[#DefaultTextStyle|DefaultTextStyle]]** | ||
- | * **Return**:[[ThinkGeo.MapSuite.Core.TextStyle|TextStyle]] | ||
- | * **Summary**:This property gets and sets the default TextStyle. You should use this style if your features are text-based (such as labels). | ||
- | |||
- | **{{wiki:PublicProperty.gif|}}[[#Value|Value]]** | ||
- | * **Return**:String | ||
- | * **Summary**:This property gets and sets the value that we use to match with the feature data. If the value matches, we use the style for this item. | ||
- | |||
- | === Protected Properties === | ||
- | === Public Events === | ||
- | ===== Public Constructors ===== | ||
- | === ValueItem() === | ||
- | This is a constructor for the class. | ||
- | ==== Remarks ==== | ||
- | If you use this constructor, you should set the necessary properties manually. | ||
- | ==== Parameters ==== | ||
- | [[#Public Constructors|Go Back]] | ||
- | === ValueItem(String,AreaStyle) === | ||
- | This is a constructor for the class. | ||
- | ==== Remarks ==== | ||
- | It is recommended that you do not use this constructor unless it is absolutely necessary. Instead, you can set the properties directly on the DefaultAreaStyle. | ||
- | ==== Parameters ==== | ||
- | **value** | ||
- | * **Type**:String | ||
- | * **Description:This parameter is the value that will match with the data specified for the feature. | ||
- | |||
- | **areaStyle** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.AreaStyle|AreaStyle]] | ||
- | * **Description:This parameter is the style you want to draw with if the value matches. | ||
- | |||
- | [[#Public Constructors|Go Back]] | ||
- | === ValueItem(String,LineStyle) === | ||
- | This is a constructor for the class. | ||
- | ==== Remarks ==== | ||
- | It is recommended that you do not use this constructor unless it is absolutely necessary. Instead, you can set the properties directly on the DefaultLineStyle. | ||
- | ==== Parameters ==== | ||
- | **value** | ||
- | * **Type**:String | ||
- | * **Description:This parameter is the value that will match with the data specified for the feature. | ||
- | |||
- | **lineStyle** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.LineStyle|LineStyle]] | ||
- | * **Description:This parameter is the style you want to draw with if the value matches. | ||
- | |||
- | [[#Public Constructors|Go Back]] | ||
- | === ValueItem(String,PointStyle) === | ||
- | This is a constructor for the class. | ||
- | ==== Remarks ==== | ||
- | It is recommended that you do not use this constructor unless it is absolutely necessary. Instead, you can set the properties directly on the DefaultPointStyle. | ||
- | ==== Parameters ==== | ||
- | **value** | ||
- | * **Type**:String | ||
- | * **Description:This parameter is the value that will match with the data specified for the feature. | ||
- | |||
- | **pointStyle** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.PointStyle|PointStyle]] | ||
- | * **Description:This parameter is the style you want to draw with if the value matches. | ||
- | |||
- | [[#Public Constructors|Go Back]] | ||
- | === ValueItem(String,TextStyle) === | ||
- | This is a constructor for the class. | ||
- | ==== Remarks ==== | ||
- | It is recommended that you do not use this constructor unless it is absolutely necessary. Instead, you can set the properties directly on the DefaultTextStyle. | ||
- | ==== Parameters ==== | ||
- | **value** | ||
- | * **Type**:String | ||
- | * **Description:This parameter is the value that will match with the data specified for the feature. | ||
- | |||
- | **textStyle** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.TextStyle|TextStyle]] | ||
- | * **Description:This parameter is the style you want to draw with if the value matches. | ||
- | |||
- | [[#Public Constructors|Go Back]] | ||
- | === ValueItem(String,Collection<Style>) === | ||
- | This is a constructor for the class. | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | ==== Parameters ==== | ||
- | **value** | ||
- | * **Type**:String | ||
- | * **Description:This parameter is the value that will match with the data specified for the feature. | ||
- | |||
- | **customStyles** | ||
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.Style|Style]]> | ||
- | * **Description:This parameter represents the styles you want to draw with if the value matches. | ||
- | |||
- | [[#Public Constructors|Go Back]] | ||
- | ===== Protected Constructors ===== | ||
- | ===== Public Methods ===== | ||
- | === Equals(Object) === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Boolean | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | **obj** | ||
- | * **Type**:Object | ||
- | * **Description**:N/A | ||
- | |||
- | [[#Public Methods|Go Back]] | ||
- | === GetHashCode() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Int32 | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Public Methods|Go Back]] | ||
- | === GetType() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Type | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Public Methods|Go Back]] | ||
- | === ToString() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:String | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Public Methods|Go Back]] | ||
- | ===== Protected Methods ===== | ||
- | === Finalize() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Void | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Protected Methods|Go Back]] | ||
- | === MemberwiseClone() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Object | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Protected Methods|Go Back]] | ||
- | ===== Public Properties ===== | ||
- | === CustomStyles === | ||
- | This property gets the collection of custom styles. | ||
- | ==== Remarks ==== | ||
- | The custom styles allow you to use styles other than the default style properties of the class. In this way, you can use a DotDensityStyle or any other style in the API. | ||
- | ==== Return Value ==== | ||
- | **Return Type**:Collection<[[ThinkGeo.MapSuite.Core.Style|Style]]> | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | === DefaultAreaStyle === | ||
- | This property gets and sets the default AreaStyle. You should use this style if your features are area-based. | ||
- | ==== Remarks ==== | ||
- | The default style allows you to directly set properties on the styles without having to create a new style each time. You can start simply by setting properties like color, etc. This makes modifying styles very easy. | ||
- | ==== Return Value ==== | ||
- | **Return Type**:[[ThinkGeo.MapSuite.Core.AreaStyle|AreaStyle]] | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | === DefaultLineStyle === | ||
- | This property gets and sets the default LineStyle. You should use this style if your features are line-based. | ||
- | ==== Remarks ==== | ||
- | The default style allows you to directly set properties on the styles without having to create a new style each time. You can start simply by setting properties like color, etc. This makes modifying styles very easy. | ||
- | ==== Return Value ==== | ||
- | **Return Type**:[[ThinkGeo.MapSuite.Core.LineStyle|LineStyle]] | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | === DefaultPointStyle === | ||
- | This property gets and sets the default PointStyle. You should use this style if your features are point-based. | ||
- | ==== Remarks ==== | ||
- | The default style allows you to directly set properties on the styles without having to create a new style each time. You can start simply by setting properties like color, etc. This makes modifying styles very easy. | ||
- | ==== Return Value ==== | ||
- | **Return Type**:[[ThinkGeo.MapSuite.Core.PointStyle|PointStyle]] | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | === DefaultTextStyle === | ||
- | This property gets and sets the default TextStyle. You should use this style if your features are text-based (such as labels). | ||
- | ==== Remarks ==== | ||
- | The default style allows you to directly set properties on the styles without having to create a new style each time. You can start simply by setting properties like color, etc. This makes modifying styles very easy. | ||
- | ==== Return Value ==== | ||
- | **Return Type**:[[ThinkGeo.MapSuite.Core.TextStyle|TextStyle]] | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | === Value === | ||
- | This property gets and sets the value that we use to match with the feature data. If the value matches, we use the style for this item. | ||
- | ==== Remarks ==== | ||
- | The value must match exactly. If more complex matching is required, we suggest you use the RegexStyle. The RegexStyle enables you to use regular expressions, which are very powerful for fuzzy matching. | ||
- | ==== Return Value ==== | ||
- | **Return Type**:String | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | ===== Protected Properties ===== | ||
- | ===== Public Events ===== | ||
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.