Interfaces

Project

Pages Html

NuGet packageOwin.Framework.Pages.Html
GitHub sourceOwinFramework.Pages.Html

Home |  Readme

[Style] attribute | The OWIN Framework Pages

The [Style] Attribute

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.

CssStyle

This property contains the style definition to attach to the element container.