Hi,
I have a cell that is suppose to display datetime. now it happens that sometimes that value is DateTime.MinValue. At the moment the grid displays it as 01/01/0001 but all i want is not to display it in this case. Is there a way to avoid displaying DateTime.MinValue? How can i set up my own converter if the binding is done automatically.
Thanks,
Stefan
Hi I have similar issue. I tried to do something simple first like this:
<igDP:XamDataGrid x:Name="m_grdMain" ScrollingMode="Deferred"> <igDP:XamDataGrid.Resources> <Style TargetType="{x:Type Editors:XamDateTimeEditor}"> <Setter Property="Mask" Value="{}{date}"/> </Style> </igDP:XamDataGrid.Resources> </igDP:XamDataGrid>
Shouldn't that work? My DateTime is still displayed with time on it. Any suggestion? Or do I really have to use ValueToTextConverter?