C# Class ArcGISPortalViewer.Controls.MeasureDisplayControl

Inheritance: Windows.UI.Xaml.Controls.UserControl
Datei anzeigen Open project: Esri/arcgis-portalviewer-dotnet

Public Properties

Property Type Description
CoordinateFormatProperty Windows.UI.Xaml.DependencyProperty
EditorProperty Windows.UI.Xaml.DependencyProperty
IsMeasureEnabledProperty Windows.UI.Xaml.DependencyProperty
LinearUnitTypeProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
MeasureDisplayControl ( ) : ArcGISPortalViewer.Common

Private Methods

Method Description
DeleteVertex_Click ( object sender, RoutedEventArgs e ) : void
ExecuteMeasure ( ) : void
MeasureItem_Holding ( object sender, HoldingRoutedEventArgs e ) : void
OnCoordinateFormatPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnIsMeasureEnabledPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnLinearUnitTypePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnMeasureCompleted ( Geometry geometry = null, Exception error = null, bool isCanceled = false ) : void
OnMeasureStarted ( ) : void
OnMeasureUpdated ( Geometry geometry ) : void
OnStatusReported ( GeometryEditStatus status ) : void

Updates the m_Polyline and MeasureItemsCollection based on the progress reported by Esri.ArcGISRuntime.Controls.Editor

ResetDisplay ( ) : void
ResetEditor ( ) : void
ResetMeasure ( ) : void
ResetMeasure_Click ( object sender, RoutedEventArgs e ) : void
UpdateDisplay ( Polyline polyline ) : void

Raises the MeasureUpdated and updates display based on MeasureItemCollection, TotalLength and Area properties.

Method Details

MeasureDisplayControl() public method

public MeasureDisplayControl ( ) : ArcGISPortalViewer.Common
return ArcGISPortalViewer.Common

Property Details

CoordinateFormatProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml CoordinateFormatProperty
return Windows.UI.Xaml.DependencyProperty

EditorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml EditorProperty
return Windows.UI.Xaml.DependencyProperty

IsMeasureEnabledProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IsMeasureEnabledProperty
return Windows.UI.Xaml.DependencyProperty

LinearUnitTypeProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml LinearUnitTypeProperty
return Windows.UI.Xaml.DependencyProperty