InputSizesHelperAddSizeSuffix Method
|
Adds the size suffix ("lg" or "sm") associated with
inputSize to
prefix.
If
inputSize is
Default, an empty string is returned.
Namespace:
Bootstrap.A11y
Assembly:
Bootstrap.A11y (in Bootstrap.A11y.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic static string AddSizeSuffix(
InputSizes inputSize,
string prefix
)
Parameters
- inputSize
- Type: Bootstrap.A11yInputSizes
The InputSizes. - prefix
- Type: SystemString
A prefix to come before the suffix.
Return Value
Type:
StringConcatenation of
prefix and the appropriate suffix if
inputSize is not
Default. Otherwise, an empty string.
See Also