Linked Questions
10 questions linked to/from Changing the string format of the WPF DatePicker
0
votes
1
answer
2k
views
binding WPF DatePicker to string property [duplicate]
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 ...
20
votes
7
answers
61k
views
WPF Toolkit DatePicker Month/Year Only
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 ...
0
votes
2
answers
1k
views
DateTime Value to null
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 ...
1
vote
2
answers
955
views
Datepicker Output Format Datagrid wpf
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 ...
0
votes
1
answer
817
views
WPF + DatePicker + UpdateSourceTrigger = Explicit
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....
1
vote
3
answers
641
views
WPF DatePicker: Custom DisplayText
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 ...
1
vote
1
answer
436
views
C# Wpf. How to add dots automatically while writing in DatePickere?
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 ...
-1
votes
2
answers
350
views
How do I change SelectedDateFormat to display 21 Nov 2019?
How do I change SelectedDateFormat to display 21 Nov 2019?
<DatePicker CalendarStyle="{StaticResource resizedCalendarItem}"
SelectedDateFormat="Short"
x:Name="gDPickVisitDate"
...
-1
votes
1
answer
164
views
How to display Date as MMM-DD dateFormat in WPF DatePicker
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.
0
votes
0
answers
143
views
Date string format when using a DatePicker in DataGridTemplateColumn.CellTemplate (XAML+WPF+MVVM)
I really broke my mind by trying to find how to format string when you are using DataGridTemplates:
<DataGridTemplateColumn Header="DEMOB. DATE">
<DataGridTemplateColumn.CellTemplate>
...