Hi,
I am using DateTimePicker in GridView whith MVVM pattern.
I am using DateTimePicker in GridView whith MVVM pattern.
<
telerik:RadDateTimePicker InputMode="DatePicker" DisplayFormat="Short" DateSelectionMode="Year" DisplayDateStart="1990/01/01" SelectedValue="{Binding Year, Mode=TwoWay}"/>
My DateSelectionMode is Year, so I can only choose year. But I need to only show year after selection.
Please check the image. The text 1/1/2001 is not what I want. I just want 2001.
Is this possible done using MVVM? I checked forum. It seems that solution can only be done using code behind. Also, the DateTimePicker is in GridView.
Thanks