Some wishes to make the control better:
1. The control should have formatting settings as regular texbox (i.e. I would like to put the content in the middle).
2. The text should be "convertable", i.e. I want to bind it to a DateTime variable with the following converter:
string.Format(culture, "{0:ddd, dd MMM yyyy}", value)
3. The title of the control should be flexible (one has to dig into the control code to change "CHOOSE DATE").
4. I US people think in format MONTH-DAY-YEAR. In Europe the layout is DAY-MONTH-YEAR. I would like the colums order to be adjustable.
Besides: THANK YOU for the current version. Works great!
Comments: ** Comment from web user: zyio **
1. The control should have formatting settings as regular texbox (i.e. I would like to put the content in the middle).
2. The text should be "convertable", i.e. I want to bind it to a DateTime variable with the following converter:
string.Format(culture, "{0:ddd, dd MMM yyyy}", value)
3. The title of the control should be flexible (one has to dig into the control code to change "CHOOSE DATE").
4. I US people think in format MONTH-DAY-YEAR. In Europe the layout is DAY-MONTH-YEAR. I would like the colums order to be adjustable.
Besides: THANK YOU for the current version. Works great!
Comments: ** Comment from web user: zyio **
_in this line is error:_
TextBlock objTitleTextBox = (TextBlock)objParentGrid.Children.First(c => c.GetType() == typeof(TextBlock));
-----------------
_this code works correctly:_
foreach (var item in objParentGrid.Children)
{
if (item.GetType() == typeof(TextBlock))
{
TextBlock objTitleTextBox = (TextBlock)item;
objTitleTextBox.Text = AppResources.ChooseDate;
break;
}
}