Microsoft WPF Ribbon Calendar / DatePicker Control - wpf

I am looking for information on how to put a calendar/datepicker control into a WPF Ribbon. Has anyone done this before? What is the best way to implement this?

MS didn't think it was worth adding a calendar in the ribbon. I don't think it was much advantageous anyway. Having said that, it is good to have such a control. This should help
http://chandoo.org/forum/threads/ribbon-datepicker-calendar-control-for-excel-2007-2010.12150/#post-71159

There is no DatePicker or Calendar control available with Ribbon controlset.
But you can add the WPF dataPicker control to it, but it will look odd there. I dont know why you need to add a Calendar or DatePicker control there.
Ribbons are generally suited for commands.

Related

dragable controls in runtime Similar to a toolbox in wpf

I want to create a project in WPF for designing a custom report.
For this, I need a library to add controls to a panel, canvas, etc. with drag and drop at runtime.
Controls should be resizable and moveable with the mouse. Finally I want to print this.
Telerik's WPF controls contain the Diagram Control which supports the features you mention out of the box. I use it for a very similar scenario as you describe and it works well. The might be a counterpart offered by Infragistics as well.
With .NET framework's built in features and/or free libraries you will able to cover the drag&drop part. You will have to implement the rest yourself which is possible but too much to ask for one question.
Late reply, but I came across this. Take a look at this
There are 4 parts that show how to do a toolbox with what you're looking for.

Is there a free date/time entry spin-wheel control for Silverlight?

Not sure what this control is actually "called", but I'm looking for a free version of one of these for Silverlight:
Does anyone know of something like this?
The Silverlight toolkit has a DatePicker and a TimePicker control. http://silverlight.codeplex.com/

WPF Calendar: Customize the control to show calendar week numbers

Currently i'm creating a Custom Calendar Control that inherits from the Standard WPF Calendar.
Thanks to Mr. Veeneman i got Highlighting for specific dates to work http://www.codeproject.com/KB/WPF/ExtendingWPFCalendar.aspx.
Now i'm trying to add the weeknumbers to the left of the standard "days-block" but do not know how to accomplish this task.
Has anyone created a Custom Calendar with such a functionality willing to share his thoughts?
I try to avoid to use WPF Toolkit from Codeplex since i have had rather mediocre experiences with the toolkits for asp.net.
with kind regards
You mention the WPF Toolkit yourself, and which is what Charles Petzold has used to add week numbers: http://www.charlespetzold.com/blog/2009/10/Adapting-the-Calendar-Control-for-Week-Numbers.html
I am also looking for a way to add week numbers to the default WPF Calendar control. Is the principles of WPF Calendar different from WPF Toolkit Calendar?

Custom Wpf ListBox Control

I'm new to wpf and have just been given a project to create a set of custom controls which will be used to make a previous windows forms application more manageable and current. However I cannot seem to find much info with regards to customising the built in Listbox, this would involve preferably replacing the scroll bar and the +/- buttons with custom images etc..
Just wondered if anyone knows how to get at these ?
Thanks in advance.
Check here for the default control template of the listbox.You can customize the scrollviewer there to do what you are looking for.Check the below article to get started
Using Templates to Customize WPF Controls
Learn about WPF styling and templating. Other than that, the question is too generic for SO. Read the article (and perhaps google some more articles on the topic), try to style the listbox and come back with specific issues. WPF is not easy to get into, but it is definitely worth the time.

Textbox with a popup in Silverlight

I'd like to build an own control, but therefore I need to know if its possible to combine a Textbox event with a Popup more or less like the Datepicker Control.
Or is there a better way to do this than with a Popup?
Greets
Patrick
Sure you could do this. In fact look at the DatePicker as an example of how you might do that. I'd imagine your control would be a composite of TextBox, Button and Popup controls.
You can download the complete source to the Silverlight Toolkit from the CodePlex Silverlight Toolkit project site.
And you can get the source and unit tests for the Beta 2 Release 1 controls at Shawn Burke's blog.
Neither of these may be exactly what you're looking for, but they might get you on the right track.

Resources