BuilderFactory.StyleSheets() Method
Returns control-specific styles.
Namespace: DevExpress.AspNetCore
Assembly: DevExpress.AspNetCore.Common.v18.2.dll
Declaration
Returns
Type | Description |
---|---|
IHtmlContent | An IHtmlContent instance that stores control-specific styles. |
Remarks
IMPORTANT
Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.
The StyleSheets method should be called at a web page head. The code below demonstrates how you can use the method for ASP.NET Core Bootstrap controls.
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
@Html.DevExpress().StyleSheets()
</head>
<body>
...
</body>
</html>
See Also