Back to Devexpress

GridCustomizeElementEventArgs.Style Property

blazor-devexpress-dot-blazor-dot-gridcustomizeelementeventargs-9a7dec21.md

latest1.7 KB
Original Source

GridCustomizeElementEventArgs.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 grid element.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public string Style { get; set; }

Property Value

TypeDescription
String

A style attribute.

|

Remarks

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

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

See Also

GridCustomizeElementEventArgs Class

GridCustomizeElementEventArgs Members

DevExpress.Blazor Namespace