Dart.PowerWEB.TextBox Namespace > BaseToolbarButton Class : MouseDownImageName Property (BaseToolbarButton) |
Gets or sets the name of the image displayed when the user clicks the button with the mouse.
[Visual Basic]
<NotifyParentPropertyAttribute(True)>
Public Property MouseDownImageName As String
[C#]
[NotifyParentPropertyAttribute(true)]
public string MouseDownImageName {get; set;}
[C++]
[NotifyParentPropertyAttribute(true)]
public: __property string* get_MouseDownImageName();
public: __property void set_MouseDownImageName(
string* value
);
[C++/CLI]
[NotifyParentPropertyAttribute(true)]
public:
property String^ MouseDownImageName {
String^ get();
void set (String^ value);
}
A string containing no instances of "/", "\", or "~" indicating a image file contained within HtmlBox.ImagesDirectory or a string containing one or many instances of "/", "\", or "~" indicating a full virtual, relative, or absolute path to an image file. The default value is an empty string.
Buttons will ALWAYS be provided with default values upon creation. See the Property Defaults topic for more information.
This property is only used when HtmlBox.ButtonMode = ButtonMode.TwoStateImage or ButtonMode.ThreeStateImage. For information about the naming convention used for this property see Image Naming Convention.
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.
Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista
BaseToolbarButton Class | BaseToolbarButton Members
Send comments on this topic.
Documentation version 3.2.0.0.
© 2009 Dart Communications. All rights reserved.