Skip to main content
All docs
V25.2
  • TreeListCustomizeElementEventArgs.Style Property

    SECURITY-RELATED CONSIDERATIONS

    The style-src: unsafe-inline CSP directive is not compatible with the Style event argument. Consider using the CssClass event argument as a safer alternative. Refer to the following help topic for additional information:

    Content Security Policy (CSP).

    Specifies a standard HTML style attribute applied to a TreeList element.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.2.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    public string Style { get; set; }

    Property Value

    Type Description
    String

    A style attribute.

    Remarks

    If you specify the Style property and style attribute in the Attributes collection at the same time, the TreeList uses the Style property value.

    For additional information and examples, refer to the CustomizeElement event’s description.

    See Also