SVGBuilderExtensions.XlinkHref

SVGBuilderExtensions.XlinkHref<TBuilder> method

Sets the ‘xlink:href’ attribute for an SVG element. This attribute is used to define a reference to a resource as a link.

public static TBuilder XlinkHref<TBuilder>(this TBuilder builder, string value)
    where TBuilder : ISVGElementBuilder, IXLinkAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
valueThe URI of the resource to link to.

Return Value

The builder instance for chaining.

See Also