Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > DatePicker > Year and Decade Selected Items Grey

Not answered Year and Decade Selected Items Grey

Feed from this thread
  • Royston avatar

    Posted on Jan 19, 2012 (permalink)

    Hi,

    I noticed that the first and last items of the calendar for the Year and Decade Selection Modes are greyed out but still selectable in the DatePicker. What is this meant to convey. How can I change these to be the same style as the other items? 

    Reply

  • Georgi Georgi admin's avatar

    Posted on Jan 21, 2012 (permalink)

    Hello Royston,

    Actually this is by design - it is made to be consistent with DateSelectionMode="Day", where you can see the days from the last and previous Month, they are gray and selectable.

    If you want to change it you need to change the style of the calendar. More info on this here.

    If you want to change the style of the buttons from the calendar witch are gray you need to make changes on
    <VisualState x:Name="IsNotFromCurrentView">

    which is in
    <Style x:Key="CalendarButtonStyle" TargetType="Telerik_Windows_Controls_Calendar:CalendarButton">

    Hope this helps.

    All the best,
    Georgi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > DatePicker > Year and Decade Selected Items Grey
Related resources for "Year and Decade Selected Items Grey"

Silverlight DatePicker Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]