Version

TitlebarXImageName Property

Gets or sets the image name of the titlebar X (close window) image.
Syntax
'Declaration
 
Public Property TitlebarXImageName As String
public string TitlebarXImageName {get; set;}

Property Value

A string representing the image name of the titlebar X (close window) image.
Remarks

This property supplies an image name which is used as a close window image in the upper right corner of the dialog. This property is only used when the HtmlBoxDialog.Type property = DialogType.InternalWindowWithTitlebar.

This property will come preset to a valid imagename found in the images directory (specified by WebHtmlEditor.ImageDirectory) created during the product installation. Set this property only if you wish to change from the presets.

WebHtmlEditor automatically assumes that all images are in the directory specified by WebHtmlEditor.ImageDirectory. For example, if the value of WebHtmlEditor.ImageDirectory is "/ig_common/images/htmleditor/" (the default) and this property was set to "myimage.jpg", the control would assume the file can be found at "/ig_common/images/htmleditor/myimage.jpg". If you set this property to a string that has some form of directory designation, such as "slashes" within it (for example "C:\temp\myimage.jpg") the control would no longer assume that the image is within WebHtmlEditor.ImageDirectory but would use the full path you supplied for this property.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also