CustomVisualViewIsEditing Property

Spotfire 14.3 API Reference
Gets a value indicating whether the current Spotfire UI is in editing mode. Controls used to enable authoring capabilities, such as axis selectors, should only be visible when the Spotfire UI is in editing mode.

Namespace:  Spotfire.Dxp.Application.Extension
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public bool IsEditing { get; }

Property Value

Type: Boolean
true if this instance is in editing mode; otherwise, false.
Remarks

This property is also available directly from JavaScript using:
window.addEventListener("SpotfireLoaded", function ()
{
  if (Spotfire.viewProperties.isEditing) {
    console.log("Enable authoring capabilities.");
  }
}
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference