If I load a layer via a shapefile and set
((ILayer)myLayer).ShowTips = true;
How can I change the tip content (I want to point it to a different column or have a expression of multiple columns) programatically with ArcEngine 10 and C#?
|
If I load a layer via a shapefile and set
How can I change the tip content (I want to point it to a different column or have a expression of multiple columns) programatically with ArcEngine 10 and C#? |
|||
|
|
|
Take a look at the DisplayField on the IFeatureLayer for changing attribute field. For more advanced formating check out the IDisplayString and IDisplayExpressionProperties. Made some code this work for me:
|
|||||||||||||
|
In your case that would be a simple
|
|||
|
|