Dong Lam Trien

Dong Lam Trien

  • 773
  • 942
  • 131.9k

Set or get the background color NavBarControl of DevExpress?

Apr 9 2014 2:02 AM
Set or get the background color NavBar Control of DevExpress ? I've set (or get) the background color NavBar Control but it isn't ? you see code below.

set background color NavBar Control:
Code:
navBarControl1.Appearance.GroupBackground.BackColor = Color.White;
navBarControl1.BackColor = Color.White;


or get background color NavBar Control:
Code:
System.Drawing.Color c1 = navBarControl1.Appearance.GroupBackground.BackColor;
System.Drawing.Color c2 = navBarControl1.BackColor;
webBrowser1.Document.BackColor = c1;
webBrowser2.Document.BackColor = c2;

do you know set or get the background color NavBar ?

Answers (2)