Syncfusion Panel control with themes
Thank you for using Syncfusion products.
We regret to let you know that, at present we don’t the container control that supports the ColorScheme. However this can be achieved by customizing the BackColor of control named GradientPanel. Please refer the below code to change the back color for the GradientPanel. We have also prepared the sample for your reference and it can be downloaded from the following location.
Code Snippet[C#]:
|
//To Change the Back color of the GradientPanel this.gradientPanel1.BackColor = ColorTranslator.FromHtml("#808080"); |
Sample Location : http://www.syncfusion.com/downloads/support/forum/119261/ze/GradientPanel-764106751
Additionally, we have different kind of form that supports the color scheme.
The color scheme for this forms can be changed by using the below code snippet. We have prepared the sample for your reference and it can be downloaded from the below location.
Code Snippet[C#]:
|
//To change the color scheme for the Office2007Form this.ColorScheme = Office2007Theme.Black; //To change the color scheme for the Office2010Form this.ColorScheme = Office2010Theme.Black; |
Sample Location : http://www.syncfusion.com/downloads/support/forum/119261/ze/FormSamples312400130
UG Links : http://help.syncfusion.com/ug/windows%20forms/index.html#!Documents/officecontrols.htm
Could you please check with the above solution and let us know whether the provided solution helps to achieve your requirement? If we have misunderstood your query please provide some additional details about your requirement. It will be helpful for us to analyze and provide you a prompt solution as early as possible.
Please let us know if you need further assistance.
Regards,
Senthil.
Thank you for your update.
Query 1: Note that Office2010Form Blue is a slightly different color?
We would like to let you know that, we have implemented the Office 2007 and Office2010 based on the Microsoft office2007 and office2010 Outlook respectively. Hence both the control have the office2010 is different from office2007.
Query 2 : if possible, I would like to know these RGB values for both Office2007Form and Office2010Form color schemes (as I said before, the RGB values may not be the same for both form types).
Yes. Please refer the below code snippet, that we have initialized for the Office2007Form and Office2010Form. We have also prepared the sample for your reference and it can be downloaded from the following location.
|
//To Change the Back color of the GradientPanel to Office2007Black this.gradientPanel1.BackColor = Color.FromArgb(113, 113, 113); //To Change the Back color of the GradientPanel to Office2007Blue this.gradientPanel1.BackColor = Color.FromArgb(187, 212, 246); //To Change the Back color of the GradientPanel to Office2007Silver this.gradientPanel1.BackColor = Color.FromArgb(202, 207, 217);
//To Change the Back color of the GradientPanel to Office2007Black this.gradientPanel1.BackColor = Color.FromArgb(137, 137, 137); //To Change the Back color of the GradientPanel to Office2007Blue this.gradientPanel1.BackColor = Color.FromArgb(206, 220, 237); //To Change the Back color of the GradientPanel to Office2007Silver this.gradientPanel1.BackColor = Color.FromArgb(232, 236, 240); |
Sample Location : http://www.syncfusion.com/downloads/support/forum/119261/ze/GradientPanel1131663606
Please let us know if you need further assistance.
Regards,
Senthil
Please ignore our previous update.
Query 1: Note that Office2010Form Blue is a slightly different color?
We would like to let you know that, we have implemented the Office 2007 and Office2010 based on the Microsoft office2007 and office2010 Outlook respectively. Hence both the control have the office2010 is different from office2007.
Query 2 : if possible, I would like to know these RGB values for both Office2007Form and Office2010Form color schemes (as I said before, the RGB values may not be the same for both form types).
Yes. Please refer the below code snippet, that we have initialized for the Office2007Form and Office2010Form. We have also prepared the sample for your reference and it can be downloaded from the following location.
|
//To Change the Back color of the GradientPanel to Office2007Black this.gradientPanel1.BackColor = Color.FromArgb(113, 113, 113); //To Change the Back color of the GradientPanel to Office2007Blue this.gradientPanel1.BackColor = Color.FromArgb(187, 212, 246); //To Change the Back color of the GradientPanel to Office2007Silver this.gradientPanel1.BackColor = Color.FromArgb(202, 207, 217);
//To Change the Back color of the GradientPanel to Office2010Black this.gradientPanel1.BackColor = Color.FromArgb(137, 137, 137); //To Change the Back color of the GradientPanel to Office2010Blue this.gradientPanel1.BackColor = Color.FromArgb(206, 220, 237); //To Change the Back color of the GradientPanel to Office2010Silver this.gradientPanel1.BackColor = Color.FromArgb(232, 236, 240); |
Sample Location : http://www.syncfusion.com/downloads/support/forum/119261/ze/GradientPanel-1653884494
Please let us know if you need further assistance.
Regards,
Senthil
Thank you for your update.
Please let us know if you need further assistance.
Regards,
Senthil
- 6 Replies
- 2 Participants
-
TT tttmack
- May 30, 2015 12:25 AM UTC
- Jun 3, 2015 01:13 AM UTC