I have a WPF-Grid and a Column with a DatePicker (Windows.Controls.DatePicker). I tried to set the Width/Height of the DatePicker Popup Programmatically.
I want to set the with in my C# Code (not in the xaml). Has someone a idea how i can do this? Is this possible?Grid DatePicker Column - Width of DatePicker Popup
2152
28-Jan-2014
Pravesh Singh
28-Jan-2014I take it you are not following the MvvM pattern to achieve desired result.
If you want to set it programmatically you can do it in the constructor of your view and basically do this: