70002520 How can I change the colors of the vdCommendLine

Article 70002520
Type HowTo
Product Engine
Version 11
Date Added 5/13/2024 12:00:00 AM
Fixed 11.1.5.0 (5/13/2024 12:00:00 AM)
Submitted by damian nowosinski@danosol

Summary

How can I change the colors of the vdCommendLine

Solution

You can set the BackColor and ForeColor of the various controls of the commandLine like below


vdFramedControl.CommandLine.UserText.BackColor = Color.Red;
vdFramedControl.CommandLine.UserText.ForeColor = Color.Blue;

vdFramedControl.CommandLine.BackColor = Color.Red;
vdFramedControl.CommandLine.ForeColor = Color.Blue;
foreach (Control item in vdFramedControl.CommandLine.Controls)
{
item.BackColor = Color.Red;
item.ForeColor = Color.Blue;
}
//And Also
vdFramedControl.CommandLine.PopupBackColor = Color.Red;
vdFramedControl.CommandLine.PopuphighlightColor = Color.Yellow;


And also change the commandLine colors aswell

foreach (Control item in vdFramedControl.Controls[1].Controls) { { item.BackColor = Color.Red; item.ForeColor = Color.Blue; } }

Send comments on this topic.