Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic calendar view customization (Read 7415 times)
vijayalakshmi
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Mar 17th, 2014
calendar view customization
Apr 15th, 2014 at 7:44am
Print Post  
Hi Meppy,
Please help me on customizing the day calendar as shown in the snapshot .
Waiting for your response...

Thanks & Regards,
Viji Smiley
  

123456789_002.PNG (Attachment deleted)
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: calendar view customization
Reply #1 - Apr 15th, 2014 at 9:48am
Print Post  
It is not appropriate to use a calendar control for this job - you should use a data grid instead. We've modified our own WPF DataGrid control specifically to be able to display this exact table. Have you had a look at it here?

Regards,
Meppy
  
Back to top
 
IP Logged
 
vijayalakshmi
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Mar 17th, 2014
Re: calendar view customization
Reply #2 - Apr 16th, 2014 at 3:29am
Print Post  
Yes Meppy. Thanks for the datagrid customization which you provided. It was very helpful. I had requirement where I have to provide the same data customization by using Day calendar of mindfusion scheduling. Let me know if there are any possibilities of doin this in Mindfusion scheduling Day Calendar.

Waaiting for your response..

Thanks & Regards,
Viji Smiley
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: calendar view customization
Reply #3 - Apr 16th, 2014 at 12:10pm
Print Post  
Hi,

Here is a customized Timetable view, which displays the data as a grid.

https://mindfusion.eu/_samples/_sample_CustomTimetableGrid.zip

Regards,
Meppy
  
Back to top
 
IP Logged
 
vijayalakshmi
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Mar 17th, 2014
Re: calendar view customization
Reply #4 - Apr 17th, 2014 at 3:50am
Print Post  
Thanks Meppy...
The navigation control is moving forward to next month and backward to previous month...
I need the date to be displayed as ahown in snapshot below with current date as 17 April 2014

Can you please give the code for this...

Thanks & Regards,
viji
  

NavigationBar.PNG (Attachment deleted)
Back to top
 
IP Logged
 
vijayalakshmi
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Mar 17th, 2014
Re: calendar view customization
Reply #5 - Apr 17th, 2014 at 5:08am
Print Post  
I  think the code needs to be updated in Navigation Control.cs

Please reply me on this ASAP...
Waiting for your response.

Thanks ,
Viji Smiley
  
Back to top
 
IP Logged
 
vijayalakshmi
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Mar 17th, 2014
Re: calendar view customization
Reply #6 - Apr 17th, 2014 at 5:13am
Print Post  
public class NavigationControl : ContentControl
     {
           static NavigationControl()
           {
                 DefaultStyleKeyProperty.OverrideMetadata(typeof(NavigationControl),
                       new FrameworkPropertyMetadata(typeof(NavigationControl)));
           }

           public NavigationControl()
           {
           }


           public string Header
           {
                 get { return (string)GetValue(HeaderProperty); }
                 set { SetValue(HeaderProperty, value); }
           }

           public static readonly DependencyProperty HeaderProperty =
                 DependencyProperty.Register("Header", typeof(string), typeof(NavigationControl), new PropertyMetadata(""));
  
Back to top
 
IP Logged
 
vijayalakshmi
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Mar 17th, 2014
Re: calendar view customization
Reply #7 - Apr 17th, 2014 at 5:17am
Print Post  
Day Navigation control---17Apr 2014
Week range navigation control---13-19 Apr2014
Please help me on this...

thanks,
Viji
  

Weekrange_navigate.PNG (Attachment deleted)
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: calendar view customization
Reply #8 - Apr 17th, 2014 at 5:58am
Print Post  
The text displayed in the navigation control is specified through NavigationControl.Header. In the sample this property binds directly to Calendar.Date and uses the "MMMM yyyy" format. You can change this format value to any standard date and time formatting string or you can assign Header manually in code if you need it to display a range of dates.

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