Class MBShield
A shield similar to those from shield.io and used in GitHub. Implemented with HTML rather than SVG.
Implements
Inherited Members
Namespace: Material.Blazor
Assembly: Material.Blazor.dll
Syntax
public class MBShield : ComponentFoundation, IDisposable
Properties
| Improve this Doc View SourceIconFoundry
The foundry to use for both icons.
IconFoundry="IconHelper.MIIcon()"
IconFoundry="IconHelper.FAIcon()"
IconFoundry="IconHelper.OIIcon()"
Overrides IconFoundryName
Declaration
public IMBIconFoundry IconFoundry { get; set; }
Property Value
Type | Description |
---|---|
IMBIconFoundry |
Label
Label (to the left).
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
String |
LabelClass
Extra CSS class for the Label.
Declaration
public string LabelClass { get; set; }
Property Value
Type | Description |
---|---|
String |
LabelIcon
Icon for the Label.
Declaration
public string LabelIcon { get; set; }
Property Value
Type | Description |
---|---|
String |
LabelStyle
HTML style attribute for the Label.
Declaration
public string LabelStyle { get; set; }
Property Value
Type | Description |
---|---|
String |
ShieldType
The shield type, being Label (left part), Value (right part) or both.
Declaration
public MBShieldType ShieldType { get; set; }
Property Value
Type | Description |
---|---|
MBShieldType |
Value
Value (to the right)
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
String |
ValueClass
Extra CSS Class for the Value.
Declaration
public string ValueClass { get; set; }
Property Value
Type | Description |
---|---|
String |
ValueIcon
Icon for the Value.
Declaration
public string ValueIcon { get; set; }
Property Value
Type | Description |
---|---|
String |
ValueStyle
HTML style attribute for the Value.
Declaration
public string ValueStyle { get; set; }
Property Value
Type | Description |
---|---|
String |