SVGBuilderExtensions.AddSwitch

SVGBuilderExtensions.AddSwitch<TBuilder> method

Adds a ‘switch’ element configuration to the builder.

public static TBuilder AddSwitch<TBuilder>(this TBuilder builder, 
    Action<SVGSwitchElementBuilder> configure)
    where TBuilder : ISVGElementBuilder, ICompositeElementBuilder
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
configureThe configuration action for the ‘switch’ element.

Return Value

The builder instance for chaining.

See Also