Class UtilityNetworkTraceTool
Represents a control that enables user to perform trace analysis with pre-configured trace types.
Implements
Namespace: Esri.ArcGISRuntime.Toolkit.UI.Controls
Assembly: Esri.ArcGISRuntime.Toolkit.WinUI.dll
Syntax
[TemplatePart(Name = "PART_IneligibleScrim", Type = typeof(UIElement))]
[TemplatePart(Name = "PART_LoadingScrim", Type = typeof(UIElement))]
[TemplatePart(Name = "PART_UtilityNetworkSelectorContainer", Type = typeof(UIElement))]
[TemplatePart(Name = "PART_UtilityNetworksSelector", Type = typeof(Selector))]
[TemplatePart(Name = "PART_TraceConfigurationsContainer", Type = typeof(UIElement))]
[TemplatePart(Name = "PART_TraceConfigurationsSelector", Type = typeof(Selector))]
[TemplatePart(Name = "PART_StartingPointsSectionContainer", Type = typeof(UIElement))]
[TemplatePart(Name = "PART_StartingPointsList", Type = typeof(ListView))]
[TemplatePart(Name = "PART_IsAddingStartingPointsIndicator", Type = typeof(UIElement))]
[TemplatePart(Name = "PART_AddRemoveStartingPointButtonsContainer", Type = typeof(UIElement))]
[TemplatePart(Name = "PART_ResetStartingPointsButton", Type = typeof(ButtonBase))]
[TemplatePart(Name = "PART_AddStartingPointsButton", Type = typeof(ButtonBase))]
[TemplatePart(Name = "PART_CancelAddStartingPointsButton", Type = typeof(ButtonBase))]
[TemplatePart(Name = "PART_AdvancedOptionsSectionContainer", Type = typeof(UIElement))]
[TemplatePart(Name = "PART_ResultNameTextBox", Type = typeof(TextBox))]
[TemplatePart(Name = "PART_ResultColorPalette", Type = typeof(UIElement))]
[TemplatePart(Name = "PART_NoNamedTraceConfigurationsWarningContainer", Type = typeof(UIElement))]
[TemplatePart(Name = "PART_NeedMoreStartingPointsWarningContainer", Type = typeof(UIElement))]
[TemplatePart(Name = "PART_DuplicateTraceWarningContainer", Type = typeof(UIElement))]
[TemplatePart(Name = "PART_ExtraStartingPointsWarningContainer", Type = typeof(UIElement))]
[TemplatePart(Name = "PART_TraceInProgressIndicator", Type = typeof(UIElement))]
[TemplatePart(Name = "PART_RunTraceButton", Type = typeof(ButtonBase))]
[TemplatePart(Name = "PART_CancelTraceButton", Type = typeof(ButtonBase))]
[TemplatePart(Name = "PART_IdentifyInProgressIndicator", Type = typeof(UIElement))]
[TemplatePart(Name = "PART_CancelIdentifyButton", Type = typeof(ButtonBase))]
[TemplatePart(Name = "PART_ResultsTabItem", Type = typeof(UIElement))]
[TemplatePart(Name = "PART_ResultsItemControl", Type = typeof(ItemsControl))]
[TemplatePart(Name = "PART_DeleteAllResultsButton", Type = typeof(ButtonBase))]
[TemplatePart(Name = "PART_TabsControl", Type = typeof(Pivot))]
[WinRTRuntimeClassName("Microsoft.UI.Xaml.IUIElementOverrides")]
[WinRTExposedType(typeof(Esri_ArcGISRuntime_Toolkit_UI_Controls_LayerLegendWinRTTypeDetails))]
public class UtilityNetworkTraceTool : Control, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IWinRTObject, IUnmanagedVirtualMethodTableProvider, IDynamicInterfaceCastable, IEquatable<Control>
Constructors
| Name | Description |
|---|---|
| UtilityNetworkTraceTool() | Initializes a new instance of the UtilityNetworkTraceTool class. |
Fields
| Name | Description |
|---|---|
| AutoZoomToTraceResultsProperty | Identifies the AutoZoomToTraceResults dependency property. |
| GeoViewProperty | Identifies the GeoView dependency property. |
| ResultFillSymbolProperty | Identifies the ResultFillSymbol dependency property. |
| ResultItemTemplateProperty | Identifies the ResultItemTemplate dependency property. |
| ResultLineSymbolProperty | Identifies the ResultLineSymbol dependency property. |
| ResultPointSymbolProperty | Identifies the ResultPointSymbol dependency property. |
| StartingPointItemTemplateProperty | Identifies the StartingPointItemTemplate dependency property. |
| StartingPointSymbolProperty | Identifies the StartingPointSymbol dependency property. |
| TraceTypeItemTemplateProperty | Identifies the TraceTypeItemTemplate dependency property. |
| UtilityNetworkItemTemplateProperty | Identifies the UtilityNetworkItemTemplate dependency property. |
Properties
| Name | Description |
|---|---|
| AutoZoomToTraceResults | Gets or sets a value indicating whether to navigate to the result area once trace is complete. |
| GeoView | Gets or sets the GeoView where starting points and trace results are displayed. |
| ResultFillSymbol | Gets or sets a Symbol that represents an aggregated polygon trace result. |
| ResultItemTemplate | Gets or sets the DataTemplate used to display a trace result. |
| ResultLineSymbol | Gets or sets a Symbol that represents an aggregated polyline trace result. |
| ResultPointSymbol | Gets or sets a Symbol that represents an aggregated multipoint trace result. |
| StartingPointItemTemplate | Gets or sets the DataTemplate used to display a starting point, which is a UtilityElement item. |
| StartingPointSymbol | Gets or sets a Symbol that represents a starting point. |
| TraceTypeItemTemplate | Gets or sets the DataTemplate used to display a pre-configured trace type, which is a UtilityNamedTraceConfiguration item. |
| UtilityNetworkItemTemplate | Gets or sets the DataTemplate used to display a UtilityNetwork. |
Methods
| Name | Description |
|---|---|
| AddStartingPoint(ArcGISFeature, MapPoint?) | Adds a starting point. |
| OnApplyTemplate() | When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate(). |
Events
| Name | Description |
|---|---|
| UtilityNetworkChanged | Event raised when a new utility network is selected. |
| UtilityNetworkTraceCompleted | Event raised when a utility network trace is completed. |