allowDeletingSelectedElement property

bool allowDeletingSelectedElement

True if the selected GeometryEditorElement can be interactively deleted, false otherwise. Default is true.

If false, then the GeometryEditorElement.canDelete property of the GeometryEditor.selectedElement is also false. If you have implemented a customization to allow users to interactively delete the selected element, then you can use this property to check if that customization should be enabled.

Whether true or false, an element can be deleted by GeometryEditor.deleteSelectedElement.

Implementation

bool get allowDeletingSelectedElement {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore
        .RT_ReticleInteractionConfiguration_getAllowDeletingSelectedElement(
      _handle,
      errorHandler,
    );
  });
}
void allowDeletingSelectedElement=(bool value)

Implementation

set allowDeletingSelectedElement(bool value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore
        .RT_ReticleInteractionConfiguration_setAllowDeletingSelectedElement(
      _handle,
      value,
      errorHandler,
    );
  });
}