Skip to content

Commit de65c81

Browse files
ES-975464 - Addressed the concerns
1 parent d08162f commit de65c81

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
This repositories contains the samples to create custom column from existing columnm in [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) and [UWP DataGrid](https://www.syncfusion.com/uwp-ui-controls/datagrid) (SfDataGrid).
44

5-
You can create your own column by overriding the [predefined column types](https://help.syncfusion.com/wpf/datagrid/column-types#_Overriding_existing_cell) in DataGrid. For example, the **GridDateTimeColumn** loads the DateTime value by default. If you want to display `DateTimeOffset` value, you can create a new column by overriding the `GridDateTimeColumn` class.
5+
You can create your own column by overriding the [predefined column types](https://help.syncfusion.com/wpf/datagrid/column-types#_Overriding_existing_cell) in DataGrid. For example, the **GridDateTimeColumn** loads the **DateTime** value by default. If you want to display **DateTimeOffset** value, you can create a new column by overriding the **GridDateTimeColumn** class.
66

7-
In the below code snippet, converter created to format the `DateTimeOffSet` value to DateTime by defining `ValueBinding` (edit) and `DisplayBinding` (non-edit).
7+
In the below code snippet, converter created to format the **DateTimeOffSet** value to DateTime by defining **ValueBinding** (edit) and **DisplayBinding** (non-edit).
88

99
``` c#
1010
public class DateTimeOffsetFormatConverter : IValueConverter
@@ -101,7 +101,7 @@ public class DateTimeOffsetToDateTimeConverter : IValueConverter
101101
}
102102
```
103103

104-
In the below code snippet, `GridDateTimeOffsetColumn` column created from `GridDateTimeColumn`.
104+
In the below code snippet, **GridDateTimeOffsetColumn** column created from **GridDateTimeColumn**.
105105

106106
``` c#
107107
public class GridDateTimeOffsetColumn : GridDateTimeColumn
@@ -117,7 +117,7 @@ public class GridDateTimeOffsetColumn : GridDateTimeColumn
117117
}
118118
```
119119

120-
In the below code snippet, created `GridDateTimeOffsetColumn` added to `SfDataGrid.Columns` collection and specify the Pattern as FullDateTime. Since the ShortDate is the default pattern of `GridDateTimeColumn`.
120+
In the below code snippet, created **GridDateTimeOffsetColumn** added to [SfDataGrid.Columns](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.SfDataGrid.html#Syncfusion_UI_Xaml_Grid_SfDataGrid_Columns) collection and specify the Pattern as FullDateTime. Since the **ShortDate** is the default pattern of **GridDateTimeColumn**.
121121

122122
### XAML
123123

@@ -126,7 +126,7 @@ In the below code snippet, created `GridDateTimeOffsetColumn` added to `SfDataGr
126126
AutoGenerateColumns="False"
127127
ItemsSource="{Binding Orders}">
128128
<syncfusion:SfDataGrid.Columns>
129-
<local:GridDateTimeOffsetColumn MappingName="OrderDate" Pattern="FullDateTime" UseBindingValue="True"/>
129+
<local:GridDateTimeOffsetColumn MappingName="OrderDate" Pattern="FullDateTime" UseBindingValue="True"/>
130130
</syncfusion:SfDataGrid.Columns>
131131
</syncfusion:SfDataGrid>
132132
```

0 commit comments

Comments
 (0)