/// <summary> /// Raises the shared ShowAttributesClicked event handler, /// </summary> public void Raise_ShowAttributes(object sender, FeatureLayerEventArgs e) { if (ShowAttributesClicked != null) { ShowAttributesClicked(sender, e); } }
/// <summary> /// Raises the shared ExportDataclicked event /// </summary> public void Raise_ExportData(object sender, FeatureLayerEventArgs e) { if (ExportDataClicked != null) { ExportDataClicked(sender, e); } }
/// <summary> /// Raises the shared ShowAttributesClicked event handler, /// </summary> public void Raise_ShowAttributes(object sender, FeatureLayerEventArgs e) { if (ShowAttributesClicked != null) ShowAttributesClicked(sender, e); }
/// <summary> /// Raises the shared ExportDataclicked event /// </summary> public void Raise_ExportData(object sender, FeatureLayerEventArgs e) { if (ExportDataClicked != null) ExportDataClicked(sender, e); }
/// <summary> /// Handles the situation for exporting the layer as a new source. /// </summary> protected override void OnExportData() { // In this case the feature layer won't be edited, but rather, // it needs to be passed so the process can work with the selection // and possibly add the finished content back into the map. FeatureLayerEventArgs args = new FeatureLayerEventArgs(this); FeatureLayerEventSender.Instance.Raise_ExportData(this, args); }
/// <summary> /// Occurs when the properties should be shown, and launches a layer dialog. /// </summary> /// <param name="e"> /// </param> protected override void OnShowProperties(HandledEventArgs e) { FeatureLayerEventArgs args = new FeatureLayerEventArgs(this); FeatureLayerEventSender.Instance.Raise_ShowProperties(this, args); e.Handled = true; }