title: How do I get value from DatePicker(WPF) in C#?
body: <p>I have a <em>DatePicker</em> class in my program, but how do I get an actual value, such as 19.12.2017, from it? I've tried to apply the way that is used to get the value from <em>DateTimePicker</em> in WinForms but it didn't work. </p>