BuilderFactory.StyleSheets() Method
In This Article
Returns control-specific styles.
Namespace: DevExpress.AspNetCore
Assembly: DevExpress.AspNetCore.Common.v18.2.dll
#Declaration
public IHtmlContent StyleSheets()
#Returns
Type | Description |
---|---|
IHtml |
An IHtml |
#Remarks
IMPORTANT
Bootstrap Controls for ASP.
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.
cshtml
<!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