Displaying Results

Modified on Tuesday, 19 July 2011 09:03 AM by 156.75.200.64 — Categorized as: Uncategorized

Throughout the framework the results in the form of features are displayed in the ResultsDisplay.
Results Display

Results Display



ResultDisplayManager

The class used to display to results is FDOT.GIS.Client.Domain.ResultDisplayManager.

Methods

NameReturn TypeDescription
ClearFilters(object sender, RoutedEventArgs e)voidClears all of the filters currently set for the current tab.
DisplayResults(ResultDisplayArgs args)voidThis is the method to display the results in the ResultsDisplay.

Properties

NameTypeDescription
CurrentFeaturesIEnumerable<Feature>The features that are currently loaded in the results display tab.
CurrentTabTabItem
FilteredFeaturesIEnumerable<Feature>The features that are currently loaded in the results display tab that are filtered.
InstanceResultDisplayManagerThis is the instance of the ResultDisplayManager.
IsVisibleboolReturns if the resultdisplay is currently visible.
ShowAllGraphicsCheckBoxCheckBox

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