See Also

HtmlBoxDialog Class  | HtmlBoxDialog Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages PowerWEB TextBox for ASP.NET

TitlebarImageName Property

Dart.PowerWEB.TextBox Namespace > HtmlBoxDialog Class : TitlebarImageName Property

Gets or sets the image name of the titlebar image.

[Visual Basic]
<DescriptionAttribute("Gets or sets the name of the image to display as a caption on the dialog titlebar.")> <DefaultValueAttribute()> Public Property TitlebarImageName As String
[C#]
[DescriptionAttribute("Gets or sets the name of the image to display as a caption on the dialog titlebar.")] [DefaultValueAttribute()] public string TitlebarImageName {get; set;}
[C++]
[DescriptionAttribute("Gets or sets the name of the image to display as a caption on the dialog titlebar.")] [DefaultValueAttribute()] public: __property string* get_TitlebarImageName(); public: __property void set_TitlebarImageName(    string* value );
[C++/CLI]
[DescriptionAttribute("Gets or sets the name of the image to display as a caption on the dialog titlebar.")] [DefaultValueAttribute()] public: property String^ TitlebarImageName {    String^ get();    void set (String^ value); }

Return Type

A string representing the image name of the titlebar image.

Remarks

This property supplies an image name which is used as a dialog "icon" in the upper left 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 HtmlBox.ImagesDirectory) created during the product installation. Set this property only if you wish to change from the presets.

PowerWEB TextBox for .NET automatically assumes that all images are in the directory specified by HtmlBox.ImagesDirectory. For example, if the value of HtmlBox.ImagesDirectory is "/PowerWEB_TextBox_Common/images" (the default) and this property was set to "myimage.jpg", the control would assume the file can be found at "/PowerWEB_TextBox_Common/images/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 HtmlBox.ImagesDirectory but would use the full path you supplied for this property.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

HtmlBoxDialog Class  | HtmlBoxDialog Members


Send comments on this topic.

Documentation version 3.2.0.0.

© 2009 Dart Communications.  All rights reserved.