Hi,
We are using XAM calendar and we want to show XAM calendar in vertical mode. Like Months should be ordered vertically. Suppose Current Month is May should be shown as first Row, First column, June should be in Second Row, Second column.. and so on.. For doing this we have increase the height of calendar. But Its seems to us there is no perfect way to ordered calendar in perfect way. Is there any way , Please let us know.
Thanks
Hello kanwar Pra,
Just to avoid any possible confusion, are you referring to the XamMonthCalendar control or the XamMonthView control? The reason I ask is because these two controls have very vast differences between how each of them actually work.
If you are using the XamMonthCalendar control, this control has a CalendarDimensions property that works essentially in the same way as the XamCalendar's Dimension property. I would recommend that you set that instead to see your vertical oriented layout in the XamMonthCalendar.
If you are using the XamMonthView control, I must admit that this would make me a bit unsure of your requirement on this matter, as the months should be organized in a vertical fashion by default, as you would normally only see a single month. If you are currently using this control, would it be possible for you to please elaborate a bit on the exact functionality that you are looking to achieve with it? Perhaps you could please provide a screenshot of your current implementation of the XamMonthView or an isolated sample project that demonstrates what you are doing?
Please let me know if you have any other questions or concerns on this matter.
Sincerely,AndrewAssociate DeveloperInfragistics Inc.www.infragistics.com/support
Thanks for your support, But right Now we are using XAM Month view and and In MonthView control not finding any Dimension Property. Should we use XAMCalendar Control?
Thanks.
Thank you for your post.
To have the XamCalendar show its months in a vertical orientation, I would recommend usage of the Dimensions property of the XamCalendar. Note, that you will want to make sure that the XamCalendar.AutoAdjustDimensions property is set to "false" first. In XAML, this Dimensions property takes an argument in the format of "X , Y." Using this format, X and Y are both integers. X is the number of Rows that the XamCalendar should show, and Y is the number of columns. If you set the number of columns to 1 and the number of rows to the number of months that you would like to display at one time, you will have a vertically oriented XamCalendar.