Skip to main content
All docs
V25.2
  • HtmlTemplate.Set(String, String) Method

    Assigns the specified HTML-CSS template to the current object.

    Namespace: DevExpress.Utils.Html

    Assembly: DevExpress.Utils.v25.2.dll

    NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

    Declaration

    public void Set(
        string template,
        string styles
    )

    Parameters

    Name Type Description
    template String

    The HTML markup to assign to the HtmlTemplate.Template property.

    styles String

    The CSS code to assign to the HtmlTemplate.Styles property.

    The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Set(String, String) method.

    Note

    The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

    See Also