Skip to content
ChartForgeX
Class

HtmlInteractiveDiagramOptionsFluent

ChartForgeX.Interactivity.Html

Namespace
ChartForgeX.Interactivity.Html
Assembly
ChartForgeX.Interactivity.Html
Modifiers
static

The fluent methods of HtmlInteractiveDiagramOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • HtmlInteractiveDiagramOptionsFluent

Methods

public static HtmlInteractiveDiagramOptions Localization(HtmlInteractiveDiagramOptions htmlInteractiveDiagramOptions, Action<HtmlChartLocalization> configure) #

Configures HtmlInteractiveDiagramOptions.Localization in place: Gets the control messages and their language; authored diagram text is unchanged.

Parameters

htmlInteractiveDiagramOptions ChartForgeX.Interactivity.Html.HtmlInteractiveDiagramOptions required
The instance.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartLocalization> required
Configures the value.

Returns

HtmlInteractiveDiagramOptions The same instance.
public static HtmlInteractiveDiagramOptions Nonce(HtmlInteractiveDiagramOptions htmlInteractiveDiagramOptions, string? value) #

Sets HtmlInteractiveDiagramOptions.Nonce: Gets or sets the content security policy nonce. The script element carries it, and the output has no style attributes: inline styles and style elements move into one style element with this nonce (see HtmlStrictStyles), and the runtime restores the inline styles through the CSS object model.

Parameters

htmlInteractiveDiagramOptions ChartForgeX.Interactivity.Html.HtmlInteractiveDiagramOptions required
The instance.
value string? required
The value.

Returns

HtmlInteractiveDiagramOptions The same instance.

Examples

// C# initializer or property                                                                  // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlInteractiveDiagramOptions { Nonce = value };    htmlInteractiveDiagramOptions.Nonce(value);