Intersoft ClientUI Documentation
Foreground Property
See Also  Send Feedback
Intersoft.Client.Documents Namespace > TextElement Class : Foreground Property






Gets or sets the Brush to apply to the content of the element.

Syntax

Visual Basic (Declaration) 
Public Property Foreground As Brush
Visual Basic (Usage)Copy Code
Dim instance As TextElement
Dim value As Brush
 
instance.Foreground = value
 
value = instance.Foreground
C# 
public Brush Foreground {get; set;}
Delphi 
public read-write property Foreground: Brush; 
JScript 
public function get,set Foreground : Brush
Managed Extensions for C++ 
public: __property Brush* get_Foreground();
public: __property void set_Foreground( 
   Brush* value
);
C++/CLI 
public:
property Brush^ Foreground {
   Brush^ get();
   void set (    Brush^ 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.