Skip to content

Commit e01e15c

Browse files
committed
Redme update
1 parent 98468b2 commit e01e15c

File tree

13 files changed

+129
-116
lines changed

13 files changed

+129
-116
lines changed

CS/AdvancedColumnLayout/Readme.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
<!-- default file list -->
2-
*Files to look at*:
3-
4-
* [MainPage.xaml](./DataGrid_AdvancedColumnLayout/MainPage.xaml)
5-
* [Model.cs](./DataGrid_AdvancedColumnLayout/Model.cs)
6-
* [ViewModel.cs](./DataGrid_AdvancedColumnLayout/ViewModel.cs)
7-
* [MainPage.xaml.cs](./DataGrid_AdvancedColumnLayout/MainPage.xaml.cs)
8-
9-
<!-- default file list end -->
101
# Change Column Layout
112

123
This example shows how to define the multi-row column layout for a grid that contains information about *employees*. For a complete description, refer to the following help topic: [Change Column Layout](https://docs.devexpress.com/MobileControls/401696/xamarin-forms/data-grid/examples/column-layout).
@@ -17,3 +8,13 @@ To run the application:
178
1. [Obtain your NuGet feed URL](http://docs.devexpress.com/GeneralInformation/116042/installation/install-devexpress-controls-using-nuget-packages/obtain-your-nuget-feed-url).
189
2. Register the DevExpress NuGet feed as a package source.
1910
3. Restore all NuGet packages for the solution.
11+
12+
<!-- default file list -->
13+
## Files to Review
14+
15+
* [MainPage.xaml](./DataGrid_AdvancedColumnLayout/MainPage.xaml)
16+
* [Model.cs](./DataGrid_AdvancedColumnLayout/Model.cs)
17+
* [ViewModel.cs](./DataGrid_AdvancedColumnLayout/ViewModel.cs)
18+
* [MainPage.xaml.cs](./DataGrid_AdvancedColumnLayout/MainPage.xaml.cs)
19+
20+
<!-- default file list end -->

CS/ColumnHeaderTemplate/Readme.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
<!-- default file list -->
2-
*Files to look at*:
3-
4-
* [MainPage.xaml](./DataGrid_ColumnHeaderTemplate/MainPage.xaml)
5-
* [Model.cs](./DataGrid_ColumnHeaderTemplate/Model.cs)
6-
* [ViewModel.cs](./DataGrid_ColumnHeaderTemplate/ViewModel.cs)
7-
<!-- default file list end -->
81
# Define Column Header Template
92

103
This example shows how to define templates for grid column headers. To do this, assign a [DataTemplate](https://docs.microsoft.com/en-us/dotnet/api/xamarin.forms.datatemplate?view=xamarin-forms) object to a column's [HeaderContentTemplate](https://docs.devexpress.com/MobileControls/DevExpress.XamarinForms.DataGrid.GridColumn.HeaderContentTemplate) property.
@@ -15,3 +8,11 @@ To run the application:
158
1. [Obtain your NuGet feed URL](http://docs.devexpress.com/GeneralInformation/116042/installation/install-devexpress-controls-using-nuget-packages/obtain-your-nuget-feed-url).
169
2. Register the DevExpress NuGet feed as a package source.
1710
3. Restore all NuGet packages for the solution.
11+
12+
<!-- default file list -->
13+
## Files to Review
14+
15+
* [MainPage.xaml](./DataGrid_ColumnHeaderTemplate/MainPage.xaml)
16+
* [Model.cs](./DataGrid_ColumnHeaderTemplate/Model.cs)
17+
* [ViewModel.cs](./DataGrid_ColumnHeaderTemplate/ViewModel.cs)
18+
<!-- default file list end -->

CS/Columns/Readme.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
<!-- default file list -->
2-
*Files to look at*:
3-
4-
* [Model.cs](./DataGrid_Columns/Model.cs)
5-
* [ViewModel.cs](./DataGrid_Columns/ViewModel.cs)
6-
* [MainPage.xaml](./DataGrid_Columns/MainPage.xaml)
7-
<!-- default file list end -->
81
# Create Columns for Different Data Types
92

103
This example shows how to create columns in [DataGridView](https://docs.devexpress.com/MobileControls/DevExpress.XamarinForms.DataGrid.DataGridView) to display and edit data of different types. The grid is bound to a collection of *Employee* objects. Each *Employee* object contains an employee's photo (image), name, position, phone, address (strings), hire and birth dates (DateTime values), employee's access level (enumeration value), and a Boolean value indicating whether an employee is on vacation. For a complete description, refer to the following help topic: [Create Columns for Different Data Types](https://docs.devexpress.com/MobileControls/400831/xamarin-forms/data-grid/examples/all-columns).
@@ -15,3 +8,11 @@ To run the application:
158
1. [Obtain your NuGet feed URL](http://docs.devexpress.com/GeneralInformation/116042/installation/install-devexpress-controls-using-nuget-packages/obtain-your-nuget-feed-url).
169
2. Register the DevExpress NuGet feed as a package source.
1710
3. Restore all NuGet packages for the solution.
11+
12+
<!-- default file list -->
13+
## Files to Review
14+
15+
* [Model.cs](./DataGrid_Columns/Model.cs)
16+
* [ViewModel.cs](./DataGrid_Columns/ViewModel.cs)
17+
* [MainPage.xaml](./DataGrid_Columns/MainPage.xaml)
18+
<!-- default file list end -->

CS/CustomAppearance/Readme.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
<!-- default file list -->
2-
*Files to look at*:
3-
4-
* [MainPage.xaml](./DataGrid_CustomAppearance/MainPage.xaml)
5-
* [Product.cs](./DataGrid_CustomAppearance/DataModel/Product.cs)
6-
* [Order.cs](./DataGrid_CustomAppearance/DataModel/Order.cs)
7-
* [OrderRepository.cs](./DataGrid_CustomAppearance/DataModel/OrderRepository.cs)
8-
* [ModelObject.cs](./DataGrid_CustomAppearance/DataModel/ModelObject.cs)
9-
<!-- default file list end -->
101
# Customize Grid Appearance
112
This example shows how to modify the grid appearance. For a complete description, refer to the following help topic: [Change Grid Appearance](http://docs.devexpress.devx/MobileControls/400845/xamarin-forms/data-grid/examples/grid-custom-appearance).
123

@@ -16,3 +7,13 @@ To run the application:
167
1. [Obtain your NuGet feed URL](http://docs.devexpress.com/GeneralInformation/116042/installation/install-devexpress-controls-using-nuget-packages/obtain-your-nuget-feed-url).
178
2. Register the DevExpress NuGet feed as a package source.
189
3. Restore all NuGet packages for the solution.
10+
11+
<!-- default file list -->
12+
## Files to Review
13+
14+
* [MainPage.xaml](./DataGrid_CustomAppearance/MainPage.xaml)
15+
* [Product.cs](./DataGrid_CustomAppearance/DataModel/Product.cs)
16+
* [Order.cs](./DataGrid_CustomAppearance/DataModel/Order.cs)
17+
* [OrderRepository.cs](./DataGrid_CustomAppearance/DataModel/OrderRepository.cs)
18+
* [ModelObject.cs](./DataGrid_CustomAppearance/DataModel/ModelObject.cs)
19+
<!-- default file list end -->

CS/EditForm/Readme.md

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
<!-- default file list -->
2-
*Files to look at*:
3-
4-
* [MainPage.xaml](./DataGrid_EditForm/MainPage.xaml)
5-
* [App.xaml.cs](./DataGrid_EditForm/App.xaml.cs)
6-
* [Product.cs](./DataGrid_EditForm/DataModel/Product.cs)
7-
* [Order.cs](./DataGrid_EditForm/DataModel/Order.cs)
8-
* [OrderRepository.cs](./DataGrid_EditForm/DataModel/OrderRepository.cs)
9-
* [ModelObject.cs](./DataGrid_EditForm/DataModel/ModelObject.cs)
10-
<!-- default file list end -->
111
# Edit Cells - Edit Form
122
This example shows how to set up the grid to display the Edit Values form when a user taps a cell. For a complete description, refer to the following help topic: [Enable the Edit Form](https://docs.devexpress.com/MobileControls/400993/xamarin-forms/data-grid/examples/edit-cells#how-to-enable-the-edit-form).
133

@@ -17,3 +7,14 @@ To run the application:
177
1. [Obtain your NuGet feed URL](http://docs.devexpress.com/GeneralInformation/116042/installation/install-devexpress-controls-using-nuget-packages/obtain-your-nuget-feed-url).
188
2. Register the DevExpress NuGet feed as a package source.
199
3. Restore all NuGet packages for the solution.
10+
11+
<!-- default file list -->
12+
## Files to Review
13+
14+
* [MainPage.xaml](./DataGrid_EditForm/MainPage.xaml)
15+
* [App.xaml.cs](./DataGrid_EditForm/App.xaml.cs)
16+
* [Product.cs](./DataGrid_EditForm/DataModel/Product.cs)
17+
* [Order.cs](./DataGrid_EditForm/DataModel/Order.cs)
18+
* [OrderRepository.cs](./DataGrid_EditForm/DataModel/OrderRepository.cs)
19+
* [ModelObject.cs](./DataGrid_EditForm/DataModel/ModelObject.cs)
20+
<!-- default file list end -->

CS/EditFormTemplate/Readme.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
<!-- default file list -->
2-
*Files to look at*:
3-
4-
* [MainPage.xaml](./DataGrid_EditFormTemplate/MainPage.xaml)
5-
* [MainPage.xaml.cs](./DataGrid_EditFormTemplate/MainPage.xaml.cs)
6-
* [App.xaml.cs](./DataGrid_EditFormTemplate/App.xaml.cs)
7-
* [Model.cs](./DataGrid_EditFormTemplate/Model.cs)
8-
* [ViewModel.cs](./DataGrid_EditFormTemplate/ViewModel.cs)
9-
<!-- default file list end -->
101
# Edit Cells - Custom Edit Form
112
This example shows how to create a custom view for the grid's edit form and set up the grid to invoke this form when a user double taps a cell. For a complete description, refer to the following help topic: [Define a Custom Template for the Edit Form](https://docs.devexpress.com/MobileControls/400993/xamarin-forms/data-grid/examples/edit-cells#how-to-define-a-custom-template-for-the-edit-form).
123

@@ -16,3 +7,13 @@ To run the application:
167
1. [Obtain your NuGet feed URL](http://docs.devexpress.com/GeneralInformation/116042/installation/install-devexpress-controls-using-nuget-packages/obtain-your-nuget-feed-url).
178
2. Register the DevExpress NuGet feed as a package source.
189
3. Restore all NuGet packages for the solution.
10+
11+
<!-- default file list -->
12+
## Files to Review
13+
14+
* [MainPage.xaml](./DataGrid_EditFormTemplate/MainPage.xaml)
15+
* [MainPage.xaml.cs](./DataGrid_EditFormTemplate/MainPage.xaml.cs)
16+
* [App.xaml.cs](./DataGrid_EditFormTemplate/App.xaml.cs)
17+
* [Model.cs](./DataGrid_EditFormTemplate/Model.cs)
18+
* [ViewModel.cs](./DataGrid_EditFormTemplate/ViewModel.cs)
19+
<!-- default file list end -->

CS/InPlaceEditors/Readme.md

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
<!-- default file list -->
2-
*Files to look at*:
3-
4-
* [MainPage.xaml](./DataGrid_InPlaceEditors/MainPage.xaml)
5-
* [Model.cs](./DataGrid_InPlaceEditors/Model.cs)
6-
* [ViewModel.cs](./DataGrid_InPlaceEditors/ViewModel.cs)
7-
8-
<!-- default file list end -->
91
# Edit Cells - In-Place Editors
102

113
This example demonstrates how to set an in-place editor template for a [TemplateColumn](https://docs.devexpress.com/MobileControls/DevExpress.XamarinForms.DataGrid.TemplateColumn)'s cell.
@@ -16,3 +8,12 @@ To run the application:
168
1. [Obtain your NuGet feed URL](http://docs.devexpress.com/GeneralInformation/116042/installation/install-devexpress-controls-using-nuget-packages/obtain-your-nuget-feed-url).
179
2. Register the DevExpress NuGet feed as a package source.
1810
3. Restore all NuGet packages for the solution.
11+
12+
<!-- default file list -->
13+
## Files to Review
14+
15+
* [MainPage.xaml](./DataGrid_InPlaceEditors/MainPage.xaml)
16+
* [Model.cs](./DataGrid_InPlaceEditors/Model.cs)
17+
* [ViewModel.cs](./DataGrid_InPlaceEditors/ViewModel.cs)
18+
19+
<!-- default file list end -->

CS/LoadMore/Readme.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
<!-- default file list -->
2-
*Files to look at*:
3-
4-
* [Order.cs](./DataGridView_LoadMore/DataModel/Order.cs)
5-
* [Product.cs](./DataGridView_LoadMore/DataModel/Product.cs)
6-
* [OrderRepository.cs](./DataGridView_LoadMore/DataModel/OrderRepository.cs)
7-
* [ViewModel.cs](./DataGridView_LoadMore/DataModel/ViewModel.cs)
8-
* [MainPage.xaml](./DataGridView_LoadMore/MainPage.xaml)
9-
<!-- default file list end -->
101
# Implement Load-More
112

123
This example shows how to implement the grid's load-more functionality - when a user scrolls to the bottom of the grid, a set of new data items is added to the end of the grid. Data items for each next load (ten new orders) are generated randomly in code. The maximum number of loads a user is allowed to perform is 3. The total summary displays the count of data items currently loaded to the grid (it is automatically updated after each load).
@@ -21,3 +12,13 @@ To run the application:
2112
1. [Obtain your NuGet feed URL](http://docs.devexpress.com/GeneralInformation/116042/installation/install-devexpress-controls-using-nuget-packages/obtain-your-nuget-feed-url).
2213
2. Register the DevExpress NuGet feed as a package source.
2314
3. Restore all NuGet packages for the solution.
15+
16+
<!-- default file list -->
17+
## Files to Review
18+
19+
* [Order.cs](./DataGridView_LoadMore/DataModel/Order.cs)
20+
* [Product.cs](./DataGridView_LoadMore/DataModel/Product.cs)
21+
* [OrderRepository.cs](./DataGridView_LoadMore/DataModel/OrderRepository.cs)
22+
* [ViewModel.cs](./DataGridView_LoadMore/DataModel/ViewModel.cs)
23+
* [MainPage.xaml](./DataGridView_LoadMore/MainPage.xaml)
24+
<!-- default file list end -->

CS/PullToRefresh/Readme.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
<!-- default file list -->
2-
*Files to look at*:
3-
4-
* [Model.cs](./DataGridView_PullToRefresh/Model.cs)
5-
* [ViewModel.cs](./DataGridView_PullToRefresh/ViewModel.cs)
6-
* [MainPage.xaml](./DataGridView_PullToRefresh/MainPage.xaml)
7-
<!-- default file list end -->
81
# Implement Pull-to-Refresh
92

103
This example shows how to set up the grid so that it allows users to request a content update with the pull-down gesture. To do this, follow the steps below.
@@ -19,3 +12,11 @@ To run the application:
1912
1. [Obtain your NuGet feed URL](http://docs.devexpress.com/GeneralInformation/116042/installation/install-devexpress-controls-using-nuget-packages/obtain-your-nuget-feed-url).
2013
2. Register the DevExpress NuGet feed as a package source.
2114
3. Restore all NuGet packages for the solution.
15+
16+
<!-- default file list -->
17+
## Files to Review
18+
19+
* [Model.cs](./DataGridView_PullToRefresh/Model.cs)
20+
* [ViewModel.cs](./DataGridView_PullToRefresh/ViewModel.cs)
21+
* [MainPage.xaml](./DataGridView_PullToRefresh/MainPage.xaml)
22+
<!-- default file list end -->

CS/Swipe/Readme.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
<!-- default file list -->
2-
*Files to look at*:
3-
4-
* [Customer.cs](./DataGridView_Swipe/DataModel/Customer.cs)
5-
* [Product.cs](./DataGridView_Swipe/DataModel/Product.cs)
6-
* [Order.cs](./DataGridView_Swipe/DataModel/Order.cs)
7-
* [OrderRepository.cs](./DataGridView_Swipe/DataModel/OrderRepository.cs)
8-
* [MainPage.xaml](./DataGridView_Swipe/MainPage.xaml)
9-
<!-- default file list end -->
101
# Define Swipe Actions for Data Rows
112

123
This example shows how to extend the grid’s UI with additional elements (buttons) that appear when a user swipes a data row (from left to right or from right to left) and perform custom actions on tap. It defines two swipe actions for rows of the grid bound to the collection of orders:
@@ -21,3 +12,13 @@ To run the application:
2112
1. [Obtain your NuGet feed URL](http://docs.devexpress.com/GeneralInformation/116042/installation/install-devexpress-controls-using-nuget-packages/obtain-your-nuget-feed-url).
2213
2. Register the DevExpress NuGet feed as a package source.
2314
3. Restore all NuGet packages for the solution.
15+
16+
<!-- default file list -->
17+
## Files to Review
18+
19+
* [Customer.cs](./DataGridView_Swipe/DataModel/Customer.cs)
20+
* [Product.cs](./DataGridView_Swipe/DataModel/Product.cs)
21+
* [Order.cs](./DataGridView_Swipe/DataModel/Order.cs)
22+
* [OrderRepository.cs](./DataGridView_Swipe/DataModel/OrderRepository.cs)
23+
* [MainPage.xaml](./DataGridView_Swipe/MainPage.xaml)
24+
<!-- default file list end -->

CS/ValidateCellEvent/Readme.md

+12-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
<!-- default file list -->
2-
*Files to look at*:
3-
4-
* [MainPage.xaml](./DataGrid_ValidateCellEvent/MainPage.xaml)
5-
* [MainPage.xaml.cs](./DataGrid_ValidateCellEvent/MainPage.xaml.cs)
6-
* [App.xaml.cs](./DataGrid_ValidateCellEvent/App.xaml.cs)
7-
* [Product.cs](./DataGrid_ValidateCellEvent/DataModel/Product.cs)
8-
* [Order.cs](./DataGrid_ValidateCellEvent/DataModel/Order.cs)
9-
* [OrderRepository.cs](./DataGrid_ValidateCellEvent/DataModel/OrderRepository.cs)
10-
* [ModelObject.cs](./DataGrid_ValidateCellEvent/DataModel/ModelObject.cs)
11-
<!-- default file list end -->
121
# Validate a Value Once It Is Entered
132
This example shows how to validate cell values that users enter in the edit form. Use the [EditFormPage.ValidateCell](https://docs.devexpress.com/MobileControls/DevExpress.XamarinForms.DataGrid.EditFormPage.ValidateCell) event that occurs after a user changes a cell value in the [default edit form](https://docs.devexpress.com/MobileControls/400993/xamarin-forms/data-grid/examples/edit-cells#how-to-enable-the-edit-form) and moves focus from the editor. For a complete description, refer to the following help topic: [Validate Data Input](https://docs.devexpress.com/MobileControls/401328/xamarin-forms/data-grid/examples/input-validation#validate-a-value-once-it-is-entered).
143

@@ -18,3 +7,15 @@ To run the application:
187
1. [Obtain your NuGet feed URL](http://docs.devexpress.com/GeneralInformation/116042/installation/install-devexpress-controls-using-nuget-packages/obtain-your-nuget-feed-url).
198
2. Register the DevExpress NuGet feed as a package source.
209
3. Restore all NuGet packages for the solution.
10+
11+
<!-- default file list -->
12+
## Files to Review
13+
14+
* [MainPage.xaml](./DataGrid_ValidateCellEvent/MainPage.xaml)
15+
* [MainPage.xaml.cs](./DataGrid_ValidateCellEvent/MainPage.xaml.cs)
16+
* [App.xaml.cs](./DataGrid_ValidateCellEvent/App.xaml.cs)
17+
* [Product.cs](./DataGrid_ValidateCellEvent/DataModel/Product.cs)
18+
* [Order.cs](./DataGrid_ValidateCellEvent/DataModel/Order.cs)
19+
* [OrderRepository.cs](./DataGrid_ValidateCellEvent/DataModel/OrderRepository.cs)
20+
* [ModelObject.cs](./DataGrid_ValidateCellEvent/DataModel/ModelObject.cs)
21+
<!-- default file list end -->

CS/ValidateFormEvent/Readme.md

+12-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
<!-- default file list -->
2-
*Files to look at*:
3-
4-
* [MainPage.xaml](./DataGrid_ValidateFormEvent/MainPage.xaml)
5-
* [MainPage.xaml.cs](./DataGrid_ValidateFormEvent/MainPage.xaml.cs)
6-
* [App.xaml.cs](./DataGrid_ValidateFormEvent/App.xaml.cs)
7-
* [Product.cs](./DataGrid_ValidateFormEvent/DataModel/Product.cs)
8-
* [Order.cs](./DataGrid_ValidateFormEvent/DataModel/Order.cs)
9-
* [OrderRepository.cs](./DataGrid_ValidateFormEvent/DataModel/OrderRepository.cs)
10-
* [ModelObject.cs](./DataGrid_ValidateFormEvent/DataModel/ModelObject.cs)
11-
<!-- default file list end -->
121
# Validate Values When Closing the Edit Form
132
This example shows how to validate cell values that users enter in the [edit form](https://docs.devexpress.com/MobileControls/400993/xamarin-forms/data-grid/examples/edit-cells#edit-form). Use the [EditFormPage.ValidateForm](https://docs.devexpress.com/MobileControls/DevExpress.XamarinForms.DataGrid.EditFormPage.ValidateForm) event that occurs after a user changes the values and tries to close the edit form. For a complete description, refer to the following help topic: [Validate Data Input](https://docs.devexpress.com/MobileControls/401328/xamarin-forms/data-grid/examples/input-validation#validate-values-when-closing-the-edit-form).
143

@@ -18,3 +7,15 @@ To run the application:
187
1. [Obtain your NuGet feed URL](http://docs.devexpress.com/GeneralInformation/116042/installation/install-devexpress-controls-using-nuget-packages/obtain-your-nuget-feed-url).
198
2. Register the DevExpress NuGet feed as a package source.
209
3. Restore all NuGet packages for the solution.
10+
11+
<!-- default file list -->
12+
## Files to Review
13+
14+
* [MainPage.xaml](./DataGrid_ValidateFormEvent/MainPage.xaml)
15+
* [MainPage.xaml.cs](./DataGrid_ValidateFormEvent/MainPage.xaml.cs)
16+
* [App.xaml.cs](./DataGrid_ValidateFormEvent/App.xaml.cs)
17+
* [Product.cs](./DataGrid_ValidateFormEvent/DataModel/Product.cs)
18+
* [Order.cs](./DataGrid_ValidateFormEvent/DataModel/Order.cs)
19+
* [OrderRepository.cs](./DataGrid_ValidateFormEvent/DataModel/OrderRepository.cs)
20+
* [ModelObject.cs](./DataGrid_ValidateFormEvent/DataModel/ModelObject.cs)
21+
<!-- default file list end -->

0 commit comments

Comments
 (0)