ICreate.Controls.Bars Send comments on this topic.
WatermarkBounds Property
See Also 
ICreate.Controls.Bars Namespace > TaskBar Class : WatermarkBounds Property






Gets or sets the bounds of the Watermark drawn on the TaskBar.

Syntax

Visual Basic (Declaration) 
Public Property WatermarkBounds As Rectangle
Visual Basic (Usage)Copy Code
Dim instance As TaskBar
Dim value As Rectangle
 
instance.WatermarkBounds = value
 
value = instance.WatermarkBounds
C# 
public Rectangle WatermarkBounds {get; set;}
Delphi 
public read-write property WatermarkBounds: Rectangle; 
JScript 
public function get,set WatermarkBounds : Rectangle
Managed Extensions for C++ 
public: __property Rectangle get_WatermarkBounds();
public: __property void set_WatermarkBounds( 
   Rectangle value
);
C++/CLI 
public:
property Rectangle WatermarkBounds {
   Rectangle get();
   void set (Rectangle value);
}

Return Value

A Rectangle value, this property defines the bounds of the Watermark drawn on the TaskBar. The default value is Rectangle.Empty.

Remarks

The Watermark property specifies the image drawn as a watermark on the TaskBar. The WatermarkOpacity determines the opacity of the Watermark when the TaskBar is cold. The WatermarkHotOpacity determines the opacity of the Watermark when the TaskBar is hot. The TaskBar is cold when the cursor is not located over it nor does it have the input focus. The TaskBar is hot when the cursor is located over it or it has the input focus.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also