Current filter:
                                You should refresh the page.
                                0
                                  • Greetings!


                                    Can you, please, tell how can I hide time ruler current time?

                                    I was trying to hide it in XAML but this is not working anymore:



                                    	
                                    [XAML]
                                    <dxsch:SchedulerControl.DayView> <dxsch:DayView> <dxsch:DayView.TimeRulers> <dxsch:SchedulerTimeRuler AlwaysShowTimeDesignator="False" AlwaysShowTopRowTime="False" ShowCurrentTime="False" ShowMinutes="False" UseClientTimeZone="False" Visible="True" AdjustForDaylightSavingTime="True" /> </dxsch:DayView.TimeRulers> </dxsch:DayView> </dxsch:SchedulerControl.DayView>


                                    Seems that on load it's gone but when I define TimeZoneId current time is shown again. In code active view's time ruler has property showcurrent time set to false.


                                    Regards, Oleg.

                                You must  log in  or  register  to leave comments

                                1 Solution

                                0

                                Hi,

                                Thank you for pointing out this issue to us. Apparently, setting the TimeRuler.ShowCurrentTime Property has no effect:

                                	
                                [XAML]
                                <dxsch:SchedulerControl x:Name="schedulerControl1" > <dxsch:SchedulerControl.DayView> <dxsch:DayView> <dxsch:DayView.TimeRulers> <dxsch:SchedulerTimeRuler ShowCurrentTime="False"/> </dxsch:DayView.TimeRulers> </dxsch:DayView> </dxsch:SchedulerControl.DayView> </dxsch:SchedulerControl>

                                Attached is a sample project and screencast that illustrates this issue in action. I will forward this ticket to our R&D team for further examination. Hope they fix this issue soon. Please bear with us.

                                Thanks,
                                Alessandro.

                                Q420146.zip
                                • Wipatel 07.27.2012

                                  The reason why I want to hide current time is because on German OS with right time zone current time is always wrong.
                                  That's why I want not to use default ruler but set it manually so current time is not shown

                                • Thank you for your clarification. It appears that we initially misunderstood you. Please accept our apologies for this mistake. I have modified my answer accordingly.

                                You must  log in  or  register  to leave comments
                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.