Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: DateTime Column - Specific Format!?

$
0
0
Hi Nilllen,

You can try defining a DataTemplate for the Date column like that :
<xcdg:DataGridControl x:Name="_dataGrid">
         <xcdg:DataGridControl.Columns>
            <xcdg:Column FieldName="MyName" />
            <xcdg:Column FieldName="MyInt" />
            <xcdg:Column FieldName="MyDate">
               <xcdg:Column.CellContentTemplate>
                  <DataTemplate>
                     <xctk:DateTimeUpDown Value="{Binding .}"
                                          Format="MonthDay" />
                  </DataTemplate>
               </xcdg:Column.CellContentTemplate>
            </xcdg:Column>
         </xcdg:DataGridControl.Columns>
      </xcdg:DataGridControl>
If you want to see the difference between the Community Toolkit and the Plus Edition of the Toolkit, you can try the "LiveExplorer App" available here : https://wpftoolkit.codeplex.com/
You can also see what features are added in the Xceed DataGrid for WPF that are not included in the DataGrid that comes with the Toolkit here : http://doc.xceedsoft.com/products/XceedWpfToolkit/Features%20of%20Xceed%20Extended%20WPF%20Toolkit%20Plus.html
Finally, on this page : http://wpftoolkit.com/toolkit, in the section "Newest controls", you will find the controls that are in the Toolkit Plus Edition.

Hope this help

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>