Hide

YetaWF Documentation

Display
Print

BootstrapSkin Component

BootstrapSkin (Display)

Displays a Bootswatch theme name. If the model is null, nothing is rendered.

Model Type: string

[Category("Skin"), Caption("Default Bootstrap Skin"), Description("The default skin for overall page appearance and Bootstrap elements (only supported for skins that support Bootswatch) - individual pages can override the default skin")]
[UIHint("BootstrapSkin"), ReadOnly]
public string BootstrapSkin { get; set; }

BootstrapSkin (Edit)

Allows selection of an installed Bootswatch theme using a dropdown list.

Model Type: string

AdditionalMetadata Attributes

NameTypeDefaultDescription
NoDefaultboolfalseDefines whether a "(Site Default)" entry is automatically added as the first entry, with a value of null
[Category("Skin"), Caption("Default Bootstrap Skin"), Description("The default skin for overall page appearance and Bootstrap elements (only supported for skins that support Bootswatch) - individual pages can override the default skin")]
[HelpLink("https://www.bootstrapcdn.com/bootswatch/")]
[UIHint("BootstrapSkin"), StringLength(SkinDefinition.MaxName), AdditionalMetadata("NoDefault", true), Trim]
public string BootstrapSkin { get; set; }