This project is read-only.

DatePicker as a control on a RibbonGroupBox

Nov 8, 2012 at 11:46 PM


Firstly thanks for your help already, this is a terrific control.

My issue, I would like to add a normal WPF date picker (from extended WPF toolkit) onto the ribbon in a GroupBox.  But I can't figure it out.  Sorry if this is simple, but I'm new to WPF and haven't fully grasped the details.

I used to use the MS ribbon and it was reasonably simple:
<ribbon:RibbonControl >
     <control:DatePickerEx  AlternativeCalendarStyle="{StaticResource CalendarWithGotToTodayStyle}"  SelectedDate="{Binding AsOfDate}"                    control:CalendarProps.HighlightedDates="{Binding HighlightedDates}">

Nov 9, 2012 at 9:04 PM

I case you don't need custom resizing it's straight forward to add your control.

<Fluent:RibbonTabItem Header="Test-Tab">
    <Fluent:RibbonGroupBox Header="Group-Name">
        <DatePicker />
Nov 11, 2012 at 10:00 PM

Well that looks easy, thanks.