Class MeasureToolbar
The MeasureToolbar control is used to measure distances and areas on a MapView.
Namespace: Esri.ArcGISRuntime.Toolkit.UI.Controls
Assembly: Esri.ArcGISRuntime.Toolkit.WinUI.dll
Syntax
public class MeasureToolbar : Control
Constructors
| Improve this Doc View SourceMeasureToolbar()
Initializes a new instance of the MeasureToolbar class.
Declaration
public MeasureToolbar()
Fields
| Improve this Doc View SourceAreaSketchEditorProperty
Identifies the AreaSketchEditor dependency property.
Declaration
public static readonly DependencyProperty AreaSketchEditorProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
AreaUnitsProperty
Identifies the AreaUnits dependency property.
Declaration
public static readonly DependencyProperty AreaUnitsProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
LinearUnitsProperty
Identifies the LinearUnits dependency property.
Declaration
public static readonly DependencyProperty LinearUnitsProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
LineSketchEditorProperty
Identifies the LineSketchEditor dependency property.
Declaration
public static readonly DependencyProperty LineSketchEditorProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
MapViewProperty
Identifies the MapView dependency property.
Declaration
public static readonly DependencyProperty MapViewProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SelectedAreaUnitProperty
Identifies the SelectedAreaUnit dependency property.
Declaration
public static readonly DependencyProperty SelectedAreaUnitProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SelectedLinearUnitProperty
Identifies the SelectedLinearUnit dependency property.
Declaration
public static readonly DependencyProperty SelectedLinearUnitProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SelectionFillSymbolProperty
Identifies the SelectionFillSymbol dependency property.
Declaration
public static readonly DependencyProperty SelectionFillSymbolProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SelectionLineSymbolProperty
Identifies the SelectionLineSymbol dependency property.
Declaration
public static readonly DependencyProperty SelectionLineSymbolProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceAreaSketchEditor
Gets or sets the sketch editor used for measuring areas.
Declaration
public SketchEditor? AreaSketchEditor { get; set; }
Property Value
Type | Description |
---|---|
Nullable<SketchEditor> |
AreaUnits
Gets or sets the collection of
Declaration
public IList<AreaUnit>? AreaUnits { get; set; }
Property Value
Type | Description |
---|---|
Nullable<IList<AreaUnit>> |
LinearUnits
Gets or sets the collection of
Declaration
public IList<LinearUnit>? LinearUnits { get; set; }
Property Value
Type | Description |
---|---|
Nullable<IList<LinearUnit>> |
LineSketchEditor
Gets or sets the sketch editor used for measuring distances.
Declaration
public SketchEditor? LineSketchEditor { get; set; }
Property Value
Type | Description |
---|---|
Nullable<SketchEditor> |
MapView
Gets or sets the map view where measuring distances and areas will be done.
Declaration
public MapView? MapView { get; set; }
Property Value
Type | Description |
---|---|
Nullable<MapView> |
SelectedAreaUnit
Gets or sets the unit used to display for area measurements.
Declaration
public AreaUnit? SelectedAreaUnit { get; set; }
Property Value
Type | Description |
---|---|
Nullable<AreaUnit> |
SelectedLinearUnit
Gets or sets the unit used to display for distance measurements.
Declaration
public LinearUnit? SelectedLinearUnit { get; set; }
Property Value
Type | Description |
---|---|
Nullable<LinearUnit> |
SelectionFillSymbol
Gets or sets the symbol used for highlighting the polygon feature or graphic whose geometry is measured for area.
Declaration
public Symbology.Symbol? SelectionFillSymbol { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Symbology.Symbol> |
SelectionLineSymbol
Gets or sets the symbol used for highlighting the polyline feature or graphic whose geometry is measured for distance.
Declaration
public Symbology.Symbol? SelectionLineSymbol { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Symbology.Symbol> |
Methods
| Improve this Doc View SourceOnApplyTemplate()
Declaration
protected override void OnApplyTemplate()