LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ForeColor Property
See Also 
Leadtools.Medical3D Namespace > Medical3DControl Class : ForeColor Property



Gets or sets the foreground color of the control.

Syntax

Visual Basic (Declaration) 
<DispIdAttribute(-513)>
<SRDescriptionAttribute("The foreground color of this component, which is used to display text.")>
<SRCategoryAttribute("Appearance")>
Public Overridable Property ForeColor As Color
Visual Basic (Usage)Copy Code
Dim instance As Medical3DControl
Dim value As Color
 
instance.ForeColor = value
 
value = instance.ForeColor
C# 
[DispIdAttribute(-513)]
[SRDescriptionAttribute("The foreground color of this component, which is used to display text.")]
[SRCategoryAttribute("Appearance")]
public virtual Color ForeColor {get; set;}
C++/CLI 
[DispIdAttribute(-513)]
[SRDescriptionAttribute("The foreground color of this component, which is used to display text.")]
[SRCategoryAttribute("Appearance")]
public:
virtual property Color ForeColor {
   Color get();
   void set (    Color value);
}

Property Value

The foreground System.Drawing.Color of the control. The default is the value of the System.Windows.Forms.Control.DefaultForeColor property.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features