Throughout the framework the results in the form of
features are displayed in the ResultsDisplay.
Results Display
ResultDisplayManager
The class used to display to results is FDOT.GIS.Client.Domain.ResultDisplayManager.
Methods
Name | Return Type | Description |
---|
ClearFilters(object sender, RoutedEventArgs e) | void | Clears all of the filters currently set for the current tab. |
DisplayResults(ResultDisplayArgs args) | void | This is the method to display the results in the ResultsDisplay. |
Properties
Name | Type | Description |
---|
CurrentFeatures | IEnumerable<Feature> | The features that are currently loaded in the results display tab. |
CurrentTab | TabItem |
FilteredFeatures | IEnumerable<Feature> | The features that are currently loaded in the results display tab that are filtered. |
Instance | ResultDisplayManager | This is the instance of the ResultDisplayManager. |
IsVisible | bool | Returns if the resultdisplay is currently visible. |
ShowAllGraphicsCheckBox | CheckBox |
Example of Displaying Results
Here's an example of displaying results back to the user given a featureType and a list of features.
var results = new QueryResult(featureType,features);
var args = new ResultDisplayArgs(results)
{
MapTipColumn = label,
MapTipLabel = label,
Title = featureType.Name
};
ResultDisplayManager.Instance.DisplayResults(args);
See Also