Intersoft ClientUI Documentation
ShowWatermarkOnFocus Property
See Also  Send Feedback
Intersoft.Client.UI.Controls Namespace > UXTextBox Class : ShowWatermarkOnFocus Property






Gets or sets a value indicating whether the watermark text should keep visible when the textbox is focused. If the value is true, the watermark text will be hidden only when the Text property of the textbox is not empty.

Syntax

Visual Basic (Declaration) 
Public Property ShowWatermarkOnFocus As Boolean
Visual Basic (Usage)Copy Code
Dim instance As UXTextBox
Dim value As Boolean
 
instance.ShowWatermarkOnFocus = value
 
value = instance.ShowWatermarkOnFocus
C# 
public bool ShowWatermarkOnFocus {get; set;}
Delphi 
public read-write property ShowWatermarkOnFocus: Boolean; 
JScript 
public function get,set ShowWatermarkOnFocus : boolean
Managed Extensions for C++ 
public: __property bool get_ShowWatermarkOnFocus();
public: __property void set_ShowWatermarkOnFocus( 
   bool value
);
C++/CLI 
public:
property bool ShowWatermarkOnFocus {
   bool get();
   void set (    bool value);
}

Requirements

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

See Also

© 2012 All Rights Reserved.