Click or drag to resize
UIHelperGetTooltipAttributes Method
Gets tooltip onmouseover and onmouseout attributes.

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 13.0.131
Syntax
C#
public static string GetTooltipAttributes(
	string imageUrl,
	int imageWidth,
	int imageHeight,
	string title,
	string name,
	string extension,
	string description,
	string divInlineStyle,
	int tooltipWidth
)

Parameters

imageUrl
Type: SystemString
Image URL
imageWidth
Type: SystemInt32
Actual width of the image
imageHeight
Type: SystemInt32
Actual height of the image
title
Type: SystemString
File title
name
Type: SystemString
File name
extension
Type: SystemString
File extension
description
Type: SystemString
File description
divInlineStyle
Type: SystemString
Inline style (e.g. 'width: 100px;')
tooltipWidth
Type: SystemInt32
Maximal width of the tooltip

Return Value

Type: String
Returns string in format 'onmouseout=\"UnTip()\" onmouseover=\"Tip('##TOOLTIP_BODY##', WIDTH, -##TOOLTIP_WIDTH##)\"'
See Also