Hi
i am pissed off... this little code is not working past 3 hrs.
What i want to do is apply breeze theme with "RED" color instead of "Blue" color.
I am trying to do as show in example "Integration/Theme color blending". but don;t know what i am missing.
i am pissed off... this little code is not working past 3 hrs.
What i want to do is apply breeze theme with "RED" color instead of "Blue" color.
I am trying to do as show in example "Integration/Theme color blending". but don;t know what i am missing.
private void Form3_Load(object sender, EventArgs e)
{
this.masterCountryTableAdapter.Fill(this.dsDataSet.MasterCountry);
ThemeResolutionService.ApplyThemeToControlTree(this.radGridView1, "Breeze");
}
private void button1_Click(object sender, EventArgs e)
{
currentTheme =
ThemeResolutionService.GetTheme("Breeze");
//if (currentTheme.ThemeProperties.ContainsKey("BaseColor"))
//{
// this.colorForm.SelectedHslColor = (HslColor)currentTheme.ThemeProperties["BaseColor"];
// return;
//}
HslColor baseColor = HslColor.FromColor(Color.FromArgb(250, 0, 0));
//this.colorForm.SelectedHslColor = baseColor;
currentTheme.AddColorBlend(
"BaseColor", baseColor);
}