User Tools

Site Tools


thinkgeo.mapsuite.silverlightcore.valuestyle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
thinkgeo.mapsuite.silverlightcore.valuestyle [2015/08/20 03:08]
127.0.0.1 external edit
thinkgeo.mapsuite.silverlightcore.valuestyle [2017/03/16 21:59] (current)
Line 1: Line 1:
 ====== ThinkGeo.MapSuite.SilverlightCore.ValueStyle ====== ====== ThinkGeo.MapSuite.SilverlightCore.ValueStyle ======
  
 +{{section>​upgrade_map_suite_to_10.0}}
  
- +This class allows you to match a value with data in the feature to determine how to draw that feature.
-<!-- Class -->+
 ===== Inheritance Hierarchy ===== ===== Inheritance Hierarchy =====
-*System.Object +  ​*System.Object 
-**[[ThinkGeo.MapSuite.SilverlightCore.Style]] +    *ThinkGeo.MapSuite.SilverlightCore.Style 
-***[[ThinkGeo.MapSuite.SilverlightCore.ValueStyle]]+      ***ThinkGeo.MapSuite.SilverlightCore.ValueStyle**
 ===== Members Summary ===== ===== Members Summary =====
 ==== Public Constructors ==== ==== Public Constructors ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​PublicMethod.gif|}} ValueStyle() ​**
-{{wiki:​PublicMethod.gif|Public Method}}[[#ValueStyle()|ValueStyle]] ​  ​| ​   |    |    | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ValueStyle(String,​ Collection<​ValueItem>​)|ValueStyle]] ​  | String, Collection<​[[ThinkGeo.MapSuite.SilverlightCore.ValueItem|ValueItem]]> ​  ​| ​   |    |+
  
-==== Protected Constructors ​==== +  * //This is a constructor for the class.// 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^+== Remarks ​== 
 +  * //If you use this constructor,​ you need to set the required properties manually.//​ 
 +== Parameters ​== 
 +<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} ValueStyle(String,​Collection<​ValueItem>​) **
  
 +  * //This is a constructor for this class.//
 +== Remarks ==
 +  * //N/A//
 +== Parameters ==
 +  * //​columnName//​
 +    * Type:String
 +    * Description:​The columnName used to match with the value specified in the items.
 +
 +  * //​valueItems//​
 +    * Type:​Collection<​[[ThinkGeo.MapSuite.SilverlightCore.ValueItem|ValueItem]]>​
 +    * Description:​The collection of ValueItems. Each item can have its own value to match.
 +
 +<div newline></​div>​
 +==== Protected Constructors ====
 ==== Public Methods ==== ==== Public Methods ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​PublicMethod.gif|}} Draw(IEnumerable<​Feature>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) ​**
-{{wiki:​PublicMethod.gif|Public Method}}[[#​Draw(IEnumerable<​BaseShape>,​ GeoCanvas, Collection<​SimpleCandidate>,​ Collection<​SimpleCandidate>​)|Draw]] ​  | IEnumerable<​[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]>,​ [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]],​ Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]>,​ Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> ​  | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#Draw(IEnumerable<​Feature>,​ GeoCanvas, Collection<​SimpleCandidate>,​ Collection<​SimpleCandidate>​)|Draw]] ​  | IEnumerable<​[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]>,​ [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]],​ Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]>,​ Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> ​  | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​DrawSample(GeoCanvas,​ DrawingRectangleF)|DrawSample]] ​  | [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]],​ [[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]] ​  | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Equals(Object)|Equals]] ​  | Object ​  | Object ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetHashCode()|GetHashCode]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetRequiredColumnNames()|GetRequiredColumnNames]] ​  ​| ​   | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetType()|GetType]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ToString()|ToString]] ​  ​| ​   | Object ​  ​| ​   |+
  
-==== Protected Methods ==== +  * //N/A// 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +== Remarks ​== 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​DrawCore(IEnumerable<​Feature>,​ GeoCanvas, Collection<​SimpleCandidate>,​ Collection<​SimpleCandidate>​)|DrawCore]] ​  | IEnumerable<​[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]>,​ [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]],​ Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]>,​ Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> ​  | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]](overriden) ​  ​| ​   | +  * //N/A//
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​DrawSampleCore(GeoCanvas,​ DrawingRectangleF)|DrawSampleCore]] ​  | [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]],​ [[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]] ​  | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] ​  ​| ​   | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​Finalize()|Finalize]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetRequiredColumnNamesCore()|GetRequiredColumnNamesCore]] ​  ​| ​   | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]](overriden) ​  ​| ​   | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​MemberwiseClone()|MemberwiseClone]] ​  ​| ​   | Object ​  ​| ​   |+
  
-==== Public Properties ==== +== Return Value == 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ +  * Type:Void 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​ColumnName|ColumnName]] ​  | String ​  ​| ​   |    | +  * Description:N/A
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​IsActive|IsActive]] ​  | Boolean ​  | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] ​  ​| ​   | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Name|Name]] ​  | String ​  | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] ​  ​| ​   | +
-| {{wiki:PublicProperty.gif|Public Property}}[[#​RequiredColumnNames|RequiredColumnNames]] ​  | Collection<​String> ​  | [[ThinkGeo.MapSuite.SilverlightCore.Style|Style]] ​  ​| ​   | +
-| {{wiki:PublicProperty.gif|Public Property}}[[#​ValueItems|ValueItems]] ​  | Collection<​[[ThinkGeo.MapSuite.SilverlightCore.ValueItem|ValueItem]]> ​  ​| ​   |    |+
  
-==== Protected Properties ==== +== Parameters ​== 
-^ Name ^ Return ^ DeclaringType ^ Summary ^+  * //​features//​ 
 +    * Type:​IEnumerable<​[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]>​ 
 +    * Description:​N/​A
  
-==== Public Events ==== +  * //canvas// 
-^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^+    * Type:​[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] 
 +    * Description:​N/​A
  
-===== Public Constructors ===== +  * //​labelsInThisLayer//​ 
-==== ValueStyle() ==== +    * Type:​Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]>​ 
-=== Parameters === +    ​* ​Description:N/A
-^  Name ^  Type ^  ​Description ​^+
  
-[[#Public Constructors|Go Back]] +  * //​labelsInAllLayers//​ 
-==== ValueStyle(String,​ Collection<​ValueItem>​) ==== +    ​* ​Type:Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> 
-=== Parameters === +    * Description:​N/​A
-^  Name ^  ​Type ^  Description ^ +
-| columnName ​  | String<​!-- System.String --> ​  ​| ​   | +
-| valueItems ​  ​| ​Collection<​[[ThinkGeo.MapSuite.SilverlightCore.ValueItem|ValueItem]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.ValueItem} --> ​  ​| ​   |+
  
-[[#Public Constructors|Go Back]] +<div newline></​div>​ 
-===== Protected Constructors ===== +** {{wiki:​PublicMethod.gif|}} Draw(IEnumerable<​BaseShape>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) ​**
-===== Public Methods ===== +
-==== Draw(IEnumerable<​BaseShape>,​ GeoCanvas, Collection<​SimpleCandidate>,​ Collection<​SimpleCandidate>​) ​==== +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +  * //N/A// 
- Name ^  Type ^  Description ^ +== Remarks ​== 
-| shapes ​  | IEnumerable<​[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]><​!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.SilverlightCore.BaseShape} --> ​  ​| ​   | +  ​* //N/A//
-| canvas ​  | [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]]<​!-- ThinkGeo.MapSuite.SilverlightCore.GeoCanvas --> ​  ​| ​   | +
-| labelsInThisLayer ​  | Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]><​!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate} --> ​  ​| ​   | +
-| labelsInAllLayers ​  | Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]><​!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate} --> ​  ​| ​   |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style --> +== Return Value == 
-[[#Public Methods|Go Back]] +  ​* ​Type:Void 
-==== Draw(IEnumerable<​Feature>,​ GeoCanvas, Collection<​SimpleCandidate>,​ Collection<​SimpleCandidate>​) ==== +  * Description:N/A
-=== Return Value === +
-^ Return ​Type Description ​+
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  ​Type ​^  Description ^ +  ​* //​shapes//​ 
-| features ​  ​| ​IEnumerable<​[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.SilverlightCore.Feature} --> ​  ​| ​   | +    * Type:IEnumerable<​[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]> 
-| canvas ​  | [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]]<​!-- ThinkGeo.MapSuite.SilverlightCore.GeoCanvas --> ​  ​| ​   +    ​* Description:​N/​A
-| labelsInThisLayer ​  | Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]><​!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate} --> ​  ​| ​   | +
-| labelsInAllLayers ​  | Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]><​!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate} --> ​  ​| ​   |+
  
-<​!-- ​ThinkGeo.MapSuite.SilverlightCore.Style --> +  * //​canvas//​ 
-[[#Public Methods|Go Back]] +    * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] 
-==== DrawSample(GeoCanvas,​ DrawingRectangleF) ==== +    ​* ​Description:N/A
-=== Return Value === +
-^ Return Type ^ Description ​+
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +  * //​labelsInThisLayer//​ 
-^  Name ^  ​Type ^  Description ^ +    ​* ​Type:​Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> 
-| canvas ​  ​| ​[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeoCanvas --  |    | +    ​* Description:​N/​A
-| drawingExtent ​  | [[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]]<​!-- ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF --> ​  ​| ​   |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style --> +  * //​labelsInAllLayers//​ 
-[[#Public Methods|Go Back]] +    * Type:​Collection<[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]> 
-==== Equals(Object) ==== +    ​* ​Description:N/A
-=== Return Value === +
-^ Return Type ^ Description ​+
-| Boolean<​!-- System.Boolean --> ​  ​| ​   |+
  
-=== Parameters === +<div newline></​div>​ 
-^  Name ^  Type ^  Description ^ +** {{wiki:​PublicMethod.gif|}} GetRequiredColumnNames() **
-| obj   | Object<​!-- System.Object --> ​  ​| ​   ​|+
  
-<!-- System.Object --> +  * //N/A// 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== GetHashCode() ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Int32<​!-- System.Int32 --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​^+  ​Type:​Collection<​String>​ 
 +  Description:N/A
  
-<!-- System.Object --> +== Parameters ​== 
-[[#Public Methods|Go Back]] +<div newline></div> 
-==== GetRequiredColumnNames() ​==== +** {{wiki:​PublicMethod.gif|}} DrawSample(GeoCanvas,​DrawingRectangleF) **
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Collection<String><!-- System.Collections.ObjectModel.Collection{System.String--> ​  ​| ​   |+
  
-=== Parameters === +  * //N/A// 
-^  Name ^  Type ^  Description ^+== Remarks ​== 
 +  ​* //N/A//
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style --> +== Return Value == 
-[[#Public Methods|Go Back]] +  ​* ​Type:Void 
-==== GetType() ==== +  * Description:N/A
-=== Return Value === +
-^ Return ​Type Description ​+
-| Type<!-- System.Type --> ​  ​| ​   |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  ​Type ​^  ​Description ​^+  ​* //​canvas//​ 
 +    * Type:​[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] 
 +    * Description:N/A
  
-<!-- System.Object --> +  * //​drawingExtent//​ 
-[[#Public Methods|Go Back]] +    * Type:[[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]] 
-==== ToString() ==== +    ​* ​Description:N/A
-=== Return Value === +
-^ Return Type ^ Description ​+
-| String<​!-- System.String --> ​  ​| ​   |+
  
-=== Parameters === +<div newline></​div>​ 
-^  Name ^  Type ^  Description ^+** {{wiki:​PublicMethod.gif|}} ToString() **
  
-<!-- System.Object --> +  * //N/A// 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-===== Protected Methods ===== +  * //N/A//
-==== DrawCore(IEnumerable<​Feature>,​ GeoCanvas, Collection<​SimpleCandidate>,​ Collection<​SimpleCandidate>​) ==== +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​+  ​Type:String 
-| features ​  | IEnumerable<​[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]><​!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.SilverlightCore.Feature} --> ​  ​| ​   | +  Description:N/A
-| canvas ​  | [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]]<​!-- ThinkGeo.MapSuite.SilverlightCore.GeoCanvas --> ​  ​| ​   | +
-| labelsInThisLayer ​  | Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]><​!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate} --> ​  ​| ​   | +
-| labelsInAllLayers ​  | Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]><​!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate} --> ​  ​| ​   |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style(overriden) --> +== Parameters ​== 
-[[#​Protected Methods|Go Back]] +<div newline></​div>​ 
-==== DrawSampleCore(GeoCanvas,​ DrawingRectangleF) ​==== +** {{wiki:​PublicMethod.gif|}} Equals(Object) **
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   ​|+
  
-=== Parameters === +  * //N/A// 
- Name ^  Type ^  Description ^ +== Remarks ​== 
-| canvas ​  | [[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]]<​!-- ThinkGeo.MapSuite.SilverlightCore.GeoCanvas --> ​  ​| ​   | +  ​* //N/A//
-| drawingExtent ​  | [[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]]<​!-- ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF --> ​  ​| ​   |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style --> +== Return Value == 
-[[#​Protected Methods|Go Back]] +  ​* ​Type:Boolean 
-==== Finalize() ==== +  * Description:N/A
-=== Return Value === +
-^ Return ​Type Description ​+
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  ​Type ​^  ​Description ​^+  ​* //obj// 
 +    * Type:Object 
 +    * Description:N/A
  
-<!-- System.Object --> +<div newline></div> 
-[[#​Protected Methods|Go Back]] +** {{wiki:​PublicMethod.gif|}} GetHashCode() **
-==== GetRequiredColumnNamesCore() ==== +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Collection<String><!-- System.Collections.ObjectModel.Collection{System.String--> ​  ​| ​   |+
  
-=== Parameters === +  * //N/A// 
-^  Name ^  Type ^  Description ^+== Remarks ​== 
 +  ​* //N/A//
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style(overriden) --> +== Return Value == 
-[[#​Protected Methods|Go Back]] +  ​* ​Type:Int32 
-==== MemberwiseClone() ==== +  * Description:N/A
-=== Return Value === +
-^ Return ​Type Description ​+
-| Object<​!-- System.Object --> ​  ​| ​   |+
  
-=== Parameters === +== Parameters == 
-^  Name ^  Type ^  Description ^+<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} GetType() **
  
-<!-- System.Object --> +  * //N/A// 
-[[#​Protected Methods|Go Back]] +== Remarks ​== 
-===== Public Properties ===== +  * //N/A//
-==== ColumnName ==== +
-=== Return Value === +
-^ Return Type ^ +
-| String<​!-- System.String --> ​  |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.ValueStyle --> +== Return Value == 
-[[#Public Properties|Go Back]] +  * Type:Type 
-==== IsActive ==== +  * Description:​N/​A
-=== Return Value === +
-^ Return ​Type ^ +
-| Boolean<​!-- System.Boolean --> ​  |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style --> +== Parameters ​== 
-[[#Public Properties|Go Back]] +<div newline></​div>​ 
-==== Name ==== +==== Protected Methods ​==== 
-=== Return Value === +** {{wiki:​ProtectedMethod.gif|}} DrawCore(IEnumerable<Feature>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) **
-^ Return Type ^ +
-String<!-- System.String --  |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style --> +  * //This method draws the features on the canvas you provided.// 
-[[#Public Properties|Go Back]] +== Remarks ​== 
-==== RequiredColumnNames ==== +  * //This overridden method is called from the concrete public method DrawIn this method, we take the features you passed in and draw them on the canvas you providedEach style (based on its properties) may draw each feature differentlyWhen overriding this method, consider each feature and its column data valuesYou can use the full power of the GeoCanvas to do the drawing. If you need column data for a feature, be sure to override the GetRequiredColumnNamesCore and add the columns you need to the collection. In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore,​ we read that property and add it to the collection.//​
-=== Return Value === +
-^ Return Type ^ +
-| Collection<​String><​!-- System.Collections.ObjectModel.Collection{System.String} --> ​  |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.Style --> +== Return Value == 
-[[#Public Properties|Go Back]] +  ​* ​Type:Void 
-==== ValueItems ==== +  * Description:​None
-=== Return Value === +
-^ Return ​Type ^ +
-| Collection<​[[ThinkGeo.MapSuite.SilverlightCore.ValueItem|ValueItem]]><​!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightCore.ValueItem} --> ​  |+
  
-<!-- ThinkGeo.MapSuite.SilverlightCore.ValueStyle --+== Parameters == 
-[[#Public Properties|Go Back]] +  * //​features//​ 
-===== Protected Properties ​===== +    * Type:​IEnumerable<[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]
-===== Public Events ​===== +    * Description:​This parameter represents the features you want to draw on the canvas. 
-__NOTOC__ + 
-[[Category:​SilverlightMapSuiteCore]] +  * //​canvas//​ 
-[[Category:ThinkGeo.MapSuite.SilverlightCore]] +    * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] 
-[[Category:​UpdateDocumentation]]+    * Description:​This parameter represents the canvas you want to draw the features on. 
 + 
 +  * //​labelsInThisLayer//​ 
 +    * Type:​Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]>​ 
 +    * Description:​The labels will be drawn in the current layer only. 
 + 
 +  * //​labelsInAllLayers//​ 
 +    * Type:​Collection<​[[ThinkGeo.MapSuite.SilverlightCore.SimpleCandidate|SimpleCandidate]]>​ 
 +    * Description:​The labels will be drawn in all layers. 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} GetRequiredColumnNamesCore() ** 
 + 
 +  * //This method returns the column data for each feature that is required for the style to properly draw.// 
 +== Remarks ​== 
 +  * //This abstract method is called from the concrete public method GetRequiredFieldNames. In this method, we return the column names that are required for the style to draw the feature properly. For example, if you have a style that colors areas blue when a certain column value is over 100, then you need to be sure you include that column name. This will ensure that the column data is returned to you in the feature when it is ready to draw. In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore,​ we read that property and add it to the collection.//​ 
 + 
 +== Return Value == 
 +  * Type:​Collection<​String>​ 
 +  * Description:​This method returns a collection of the column names that it needs. 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} DrawSampleCore(GeoCanvas,​DrawingRectangleF) ** 
 + 
 +  * //N/A// 
 +== Remarks ​== 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters ​== 
 +  * //canvas// 
 +    * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] 
 +    * Description:​N/​A 
 + 
 +  * //​drawingExtent//​ 
 +    * Type:[[ThinkGeo.MapSuite.SilverlightCore.DrawingRectangleF|DrawingRectangleF]] 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} Finalize() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​Object 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +==== Public Properties ==== 
 +** {{wiki:​PublicProperty.gif|}} ColumnName ** 
 + 
 +This property gets and sets the column name used to match with the value specified in the items. 
 +== Remarks == 
 +This is the column we use for matching. 
 +== Return Value == 
 +  * Type:​String 
 + 
 +** {{wiki:​PublicProperty.gif|}} ValueItems ** 
 + 
 +This property gets the collection of ValueItems. Each item can have its own value to match. 
 +== Remarks == 
 +You will want to add ValueItems to this collection. Each item can have its own style and matching string. 
 +== Return Value == 
 +  * Type:​Collection<​[[ThinkGeo.MapSuite.SilverlightCore.ValueItem|ValueItem]]
 + 
 +** {{wiki:​PublicProperty.gif|}} Name ** 
 + 
 +N/A 
 +== Remarks == 
 +N/A 
 +== Return Value == 
 +  * Type:​String 
 + 
 +** {{wiki:​PublicProperty.gif|}} IsActive ** 
 + 
 +N/A 
 +== Remarks == 
 +N/A 
 +== Return Value == 
 +  * Type:​Boolean 
 + 
 +** {{wiki:​PublicProperty.gif|}} RequiredColumnNames ** 
 + 
 +N/A 
 +== Remarks == 
 +N/A 
 +== Return Value == 
 +  * Type:​Collection<​String>​ 
 + 
 +==== Protected Properties ==== 
 +==== Public Events ====
  
thinkgeo.mapsuite.silverlightcore.valuestyle.1440040134.txt.gz · Last modified: 2015/09/21 03:25 (external edit)