// To Customize background color of CaptionBar dynamically
this.CaptionBarColor = Color.Yellow;
|
foreach (CaptionImage image in this.CaptionImages)
{
// To Customize background color of CaptionImage dynamically
image.BackColor = Color.Green ;
}
|
Hello,
Thanks for this.
I am aware of how to change the caption bar color like that.
The reasons why I wanted to hook into the paint event was to create a gradient effect on the caption bar, is this possible?