CustomVisualViewIsEditing Property

TIBCO Spotfire 11.4 API Reference
Gets a value indicating whether the current Spotfire UI is in editing mode. When the Spotfire UI is in editing mode, controls used to enable authoring capabilities, such as axis selectors, are hidden. Use this property to turn off authoring UI in the custom view.

Namespace:  Spotfire.Dxp.Application.Extension
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 51.0.16121.3915 (51.0.16121.3915)
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).on("SpotfireLoaded", function ()
{
  if (Spotfire.viewProperties.isEditing) {
    console.log("Enable authoring capabilities.");
  }
}
Version Information

Supported in: 11.4
See Also

Reference