Linked Questions

0 votes
1 answer
2k views

I want to bind DatePicker to string property of viewmodel. Trouble is to set proper string format. It's problem-specific to store date in string property. Binding works fine except string format. My ...
Michael Mankiewicz's user avatar
20 votes
7 answers
61k views

I'm using the Toolkit's Datepicker as above but I'd like to restrict it to month and year selections only, as in this situation the users don't know or care about the exact date .Obviously with the ...
ChrisFletcher's user avatar
0 votes
2 answers
1k views

Hey, This is kind of tough to explain because i don't even know how it is happening. I have a datepicker box which when the page is loaded that date box is set to null. Once the user chooses a date ...
Masriyah's user avatar
  • 2,575
1 vote
2 answers
955 views

I try to get a simple Format like this "01.01.1999" - but allways, after end Edit the result (visual and real) value is "01/01/1999 12:00:00 AM") It looks like, that the "StringFormat='dd MM yyyy'" is ...
user3600403's user avatar
0 votes
1 answer
817 views

I have a datePicker, whose Text property I have bound to a view model. Instead of chosing UpdateSourceTrigger as propertyChanged, I am using Explicit. In the KeyDown event I calling the binding....
Sandepku's user avatar
  • 861
1 vote
3 answers
641 views

I should have a custom format for my DatePicker DisplayDate, but my problem is, that format can't be made with the standard custom format tags (like y, yyyy, d and so on). Is there a way you can bind ...
Gragnil's user avatar
  • 13
1 vote
1 answer
436 views

Regular expression should check and change datapicker text after input. I'm using keyUp event for this. private void DatePicker_KeyUp(object sender, RoutedEventArgs e) { DatePicker dp = (sender ...
M. Krotov's user avatar
-1 votes
2 answers
350 views

How do I change SelectedDateFormat to display 21 Nov 2019? <DatePicker CalendarStyle="{StaticResource resizedCalendarItem}" SelectedDateFormat="Short" x:Name="gDPickVisitDate" ...
ttom's user avatar
  • 1,075
-1 votes
1 answer
164 views

I have WPF DatePicker In My UserControl and I want to display date as MMM-DD format. I am using MVVM Pattern. Any One faced this issue.
Veera's user avatar
  • 37
0 votes
0 answers
143 views

I really broke my mind by trying to find how to format string when you are using DataGridTemplates: <DataGridTemplateColumn Header="DEMOB. DATE"> <DataGridTemplateColumn.CellTemplate> ...
Maks V. Zaikin's user avatar