Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Support.HtmlBuilder.GetClassAttribute Method

Returns a complete class= CSS attribute including all classes defined in attributes.

Class: YetaWF.Core.Support.HtmlBuilder
Namespace: YetaWF.Core.Support
Assembly: YetaWF.Core

Syntax

public static string GetClassAttribute(
    IDictionary<string,object?>? attributes,
    string? extraCss = null );

Parameters

attributes

The dictionary of HTML attributes.

extraCss

(not specified)

Return Value

Returns a complete class= CSS attribute including all classes defined in attributes. An empty string is returned if no classes are defined.

See Also YetaWF.Core.Support.HtmlBuilder ClassYetaWF.Core Overview