All Questions
Tagged with datepicker wpf
400
questions
-1
votes
1
answer
52
views
How do I dynamically change the stringformat of a datepicker (WPF, c#)?
I have this datepicker element:
<DatePicker
Name="DataSelected"
Grid.Column="1" Grid.Row="2"
...
0
votes
1
answer
30
views
Custom DatePicker: how can I change icon image and open the popup clicking on TextBox on codebehind?
Here's my Custom DatePicker:
<customcontrols:CustomDatePicker x:Name="DataCreazione"
SelectedDate="{Binding DataCreazione, StringFormat={}{0:dd/MM/...
1
vote
1
answer
151
views
WPF DatePicker Date-Validation after Enter key pressed
I have set an InputBinding in a WPF application, along with a DatePicker and a TextBox.
When I press the Enter key while the focus is not on the DatePicker, my KeyBinding Event is triggered.
When the ...
-2
votes
1
answer
57
views
C# WPF Update the blackoutDates in DatePickers
I'm writing a C# WPF application for a kiosk (so a long-time running app).
In the main window there are two DatePickers that must select only today and future days.
So I checked the BlackoutDate ...
0
votes
1
answer
117
views
Change the inner textbox 'mouse over' color of the MaterialDesign DatePicker in WPF
Can i change DatePicker's TextBox underline and calender icon color?
like below :
enter image description here
<DatePicker materialDesign:HintAssist.Hint="...
-1
votes
1
answer
86
views
DatePicker Template, Binding to SelectedDate not Working
I'm trying to change the DatePicker template. I almost made the design with the help of Custom Control. But not only did I spend 2 days of my life on this, it also does not work incorrectly. The ...
1
vote
1
answer
336
views
How to get the output of a wpf datepicker selected date in a specific text format c#?
I have a SQLite database table with multiple columns.
The model representing that looks something like this
public class Bills : ViewModelBase
{
private int _id;
public int Id
{
...
-1
votes
1
answer
124
views
How to make background transparent in WPF DatePicker
I am trying to make a DatePicker background transparent in wpf but I can't get rid of this white line. Does any one knows how it is called so I can make it transparent? I painted background blue and ...
0
votes
1
answer
1k
views
WPF DatePicker Custom Format
As mentioned I am looking to customize the datepicker dates to YYYY-MM-DD
I have in my XAML file:
<DatePicker x:Name="DatePicker_Date" Width="300px" VerticalAlignment="...
0
votes
1
answer
1k
views
XAML-Creating a TimePicker with TextBox
While working on my Wpf project, I need to make a time picker (a simple textbox with a separator on which the user can write HH:mm:ss).
I already did one, but the problem is that the separators are ...
0
votes
0
answers
196
views
Change DatePickerTextBox value
Hello I changed the value of the DatePicketTextBox :
<DatePicker Grid.Column="3"
Grid.Row="1"
SelectedDate="{Binding Order.DateIn, Mode=TwoWay}"...
0
votes
1
answer
1k
views
How can I add specific blackout dates in datepicker c# wpf?
I'm using a Datepicker and I would like to add specific dates as blackout dates , the problem is that this property forces the add only with Calendar Range ,
Is there any possibility to add days ...
0
votes
1
answer
4k
views
Change the appearence of the MaterialDesign DatePicker in WPF
I'm using WPF
Is it possible to edit the entire template for the DatePicker?
I want to change some colors but I cannot find where this properties are
I've tried using the next code, but it only ...
0
votes
1
answer
360
views
Change date color from a material DataPicker in WPF
I´m a little new using WPF, and i´m implementing the MaterialDesing library. I want to change the color of certain propierties of a DataPicker but cannot find where to do that. Specially the container ...
0
votes
1
answer
272
views
WPF Custom Event Handler
I have implemented the code for DatePicker https://github.com/cmyksvoll/HighlightDatePicker but I cannot use SelectedDateChanged in WPF with the error ArgumentException: Cannot bind to the target ...