Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Themes (Read 4056 times)
Martin
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: May 22nd, 2006
Themes
Jun 15th, 2006 at 6:30am
Print Post  
Is there any way to define your own themes for pocket planner? Alternatively any other way to change the color of the timeline?
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Themes
Reply #1 - Jun 15th, 2006 at 6:50am
Print Post  
It is not currently possible to define your own themes in PocketPlanner. Regardless, almost every single visual aspect of the control can be customized, including the timeline. If you refer to the timeline in the Timetable view, then you can change its fill color by settings the Calendar.TimetableSettings.TimelineStyle.HeaderBrush property. The following example sets the timeline color to Blue:

Code
Select All
calendar.TimetableSettings.TimelineStyle.HeaderBrush =
   new MindFusion.Drawing.SolidBrush(Color.Blue); 


Meppy
  
Back to top
 
IP Logged
 
Martin
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: May 22nd, 2006
Re: Themes
Reply #2 - Jun 15th, 2006 at 7:04am
Print Post  
thnx! Just did not realize that HeaderBrush was the setting Smiley
  
Back to top
 
IP Logged
 
Martin
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: May 22nd, 2006
Re: Themes
Reply #3 - Jun 15th, 2006 at 7:39am
Print Post  
One last question.. where do you set the fill-color for a selected cell in timetableview?
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Themes
Reply #4 - Jun 15th, 2006 at 9:28am
Print Post  
Use the Calendar.Selection.SelectedElementsStyle.Brush property.

Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint