1
Answer

How to disable input for date picker WPF C#

thabet idris

thabet idris

7y
180
1
Is there any way to disable the users from manually typing in date into DatePicker field
 
but it should be able to pick a date by clicking the picker button
 
the XAML:
 
<DatePicker x:Name="DeliveryDate" VerticalAlignment="Center" SelectedDateFormat="Long" SelectedDate="{Binding DeliveryDate, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged }" />
 
Thanks, 
Answers (1)