Hi
I use the Mask "{LOC}mm/yyyy" for selcting a month (without days) of a year.
But when I selected a date, i'd like to have the full month name in the editbox.
"July 2010" and not "07/2010"
how can I achieve that?
Hi,
I have a similar question.
I am able to use mask "mm/yyyy", but under some other scenario, I need a Mask of ONLY year, i.e "yyyy".
How can I achievd this?
Hello Huggy,
I am just checking if you require any further clarification on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support
I'm not sure. I think that ValueToTextConverter can help you(this is the converter used to convert editor's value to text in edit mode).
http://igusnjewblden3/NetAdvantage/WPF/?page=InfragisticsWPF4.Editors.v11.1~Infragistics.Windows.Editors.TextEditorBase~ValueToDisplayTextConverterProperty.html
Regards,
Anastas
I tried like you told but it doesn't work
in the text box after selecting a date in the drop down I see "07.2011" and not "June 2011"
only after leaving the textbox I see "June 2011". Is there a way that I see the full Month name before i leave the box ?
Hello Haggy,
You can achieve this with using: Format="MMMM yyyy".
For example you declaration of xamDateTimeEditor in XAML should look like this:
<igEditors:XamDateTimeEditor Name="dateTimeEditor" Mask="mm/yyyy" Format="MMMM yyyy"></igEditors:XamDateTimeEditor>