NuGet package | Owin.Framework.Pages.Html |
GitHub source | OwinFramework.Pages.Html |
The [Style] attribute can be used with page elements that write containers. This renderes a custom style directly onto the container DOM element.
This attribute is provided for completeness and it not expected to be used very much. Rather that attaching style information directly to elements, you should consider using Css instead.
The [Style()] attribute has the following properties you can set.
This property contains the style definition to attach to the element container.