This question is locked. New answers and comments are not allowed.
I am writing to determine how best to implement the RadDatePicker for Windows 8 to display initially only Month Year - rather than Month Day Year;
Below is the Xaml mark up code for the RadDatePicker, including the DisplayValueFormat="MMMM, yyyy" - this works as intended, and following the selection of a date, displays "May, 2013" (for example);
Value="{Binding ArriveDate}" is the binding code to the C# - shown below:
Below is the Xaml mark up code for the RadDatePicker, including the DisplayValueFormat="MMMM, yyyy" - this works as intended, and following the selection of a date, displays "May, 2013" (for example);
<
Input:RadDatePicker
x:Name
=
"rdpFiscalMonthName"
Header
=
"Fiscal Month"
Grid.Row
=
"0"
Grid.Column
=
"0"
DisplayValueFormat
=
"MMMM, yyyy"
ItemLength
=
"90"
Value
=
"{Binding ArriveDate}"
ValueChanged
=
"rdpFiscalMonthName_ValueChanged"
/>
Value="{Binding ArriveDate}" is the binding code to the C# - shown below:
var booking =
new
Booking();
booking.ArriveDate = DateTime.Now;
public
class
Booking
{
public
DateTime ArriveDate
{
get
;
set
;
}
}