Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
This example demonstrates how to change the color of text that is displayed on a Label control.
Example
label1.ForeColor=System.Drawing.Color.Pink;
Compiling the Code
This example requires:
A Windows Form Application project.
A Label named label1 on the form.
See Also
Concepts
Designing a User Interface in Visual C#