Sets the image for the control allowing for either an image file URL or a Bootstrap glyph.
Namespace:
NetQuarry.WebControls
Assembly:
EAP.WebControls (in EAP.WebControls.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public string SetImage(
string imageUrl,
string glyph,
bool preferGlyph
)
Public Function SetImage (
imageUrl As String,
glyph As String,
preferGlyph As Boolean
) As String
Parameters
- imageUrl
- Type: SystemString
The image file URL to use. - glyph
- Type: SystemString
The glyph to use. - preferGlyph
- Type: SystemBoolean
Specifies whether the imageUrl or glyph should be preferred (applies only when control supports both image types).
Return Value
Type:
StringThe image to be used.
Implements
IBndLkupSetImage(String, String, Boolean)See Also