PowerTCP Emulation for .NET CF
ForeColor Property
See Also  Send comments on this topic.
Dart.Emulation Namespace > Vt Class : ForeColor Property




Gets or sets the foreground color for the control.

Syntax

Visual Basic (Declaration) 
Public Overrides Property ForeColor As Color
Visual Basic (Usage)Copy Code
Dim instance As Vt
Dim value As Color
 
instance.ForeColor = value
 
value = instance.ForeColor
C# 
public override Color ForeColor {get; set;}
Managed Extensions for C++ 
public: __property Color get_ForeColor() override;
public: __property void set_ForeColor( 
   Color value
) override;
C++/CLI 
public:
property Color ForeColor {
   Color get() override;
   void set (    Color value) override;
}

Property Value

A System.Drawing.Color value.

Remarks

This property defaults to SystemColors.WindowText.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.