|
@@ -2,9 +2,10 @@
|
|
|
|
|
|
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
- xmlns:xForms="clr-namespace:Syncfusion.SfDataGrid.XForms;assembly=Syncfusion.SfDataGrid.XForms"
|
|
|
+ xmlns:grid="clr-namespace:Syncfusion.SfDataGrid.XForms;assembly=Syncfusion.SfDataGrid.XForms"
|
|
|
xmlns:ui="clr-namespace:XF.Material.Forms.UI;assembly=XF.Material"
|
|
|
xmlns:mobile="clr-namespace:InABox.Mobile;assembly=InABox.Mobile.Shared"
|
|
|
+ xmlns:pull="clr-namespace:Syncfusion.SfPullToRefresh.XForms;assembly=Syncfusion.SfPullToRefresh.XForms"
|
|
|
x:Class="InABox.Mobile.MobileGrid"
|
|
|
x:DataType="mobile:MobileGrid"
|
|
|
>
|
|
@@ -29,29 +30,41 @@
|
|
|
<mobile:MobileCard
|
|
|
Grid.Row="1"
|
|
|
BackgroundColor="WhiteSmoke">
|
|
|
-
|
|
|
- <xForms:SfDataGrid
|
|
|
- x:Name="Grid"
|
|
|
- AutoGenerateColumns="False"
|
|
|
- SelectionMode="Single"
|
|
|
- GridViewCreated="Grid_OnGridViewCreated"
|
|
|
- SelectionChanged="Grid_OnSelectionChanged"
|
|
|
- GridTapped="Grid_OnGridTapped"
|
|
|
- AllowPullToRefresh="True"
|
|
|
- >
|
|
|
- <xForms:SfDataGrid.GridStyle>
|
|
|
- <xForms:DefaultStyle
|
|
|
- GridCellBorderWidth="0"
|
|
|
- RowBackgroundColor="White"
|
|
|
- RowForegroundColor="Black"
|
|
|
- AlternatingRowColor="WhiteSmoke"
|
|
|
- SelectionBackgroundColor="Purple"
|
|
|
- SelectionForegroundColor="White"
|
|
|
- HeaderForegroundColor="DimGray"
|
|
|
- HeaderBackgroundColor="Transparent"
|
|
|
- HeaderCellBorderWidth="0"/>
|
|
|
- </xForms:SfDataGrid.GridStyle>
|
|
|
- </xForms:SfDataGrid>
|
|
|
+ <!-- <pull:SfPullToRefresh -->
|
|
|
+ <!-- Refreshing="SfPullToRefresh_OnRefreshing" -->
|
|
|
+ <!-- x:Name="pullToRefresh" -->
|
|
|
+ <!-- IsRefreshing="False" -->
|
|
|
+ <!-- PullingThreshold="100" -->
|
|
|
+ <!-- RefreshContentHeight="0" -->
|
|
|
+ <!-- RefreshContentThreshold="0" -->
|
|
|
+ <!-- RefreshContentWidth="0" -->
|
|
|
+ <!-- TransitionMode="Push"> -->
|
|
|
+ <!-- -->
|
|
|
+ <!-- <pull:SfPullToRefresh.PullableContent> -->
|
|
|
+ <grid:SfDataGrid
|
|
|
+ x:Name="Grid"
|
|
|
+ AutoGenerateColumns="False"
|
|
|
+ SelectionMode="Single"
|
|
|
+ GridViewCreated="Grid_OnGridViewCreated"
|
|
|
+ SelectionChanged="Grid_OnSelectionChanged"
|
|
|
+ GridTapped="Grid_OnGridTapped"
|
|
|
+ AllowPullToRefresh="True"
|
|
|
+ >
|
|
|
+ <grid:SfDataGrid.GridStyle>
|
|
|
+ <grid:DefaultStyle
|
|
|
+ GridCellBorderWidth="0"
|
|
|
+ RowBackgroundColor="White"
|
|
|
+ RowForegroundColor="Black"
|
|
|
+ AlternatingRowColor="WhiteSmoke"
|
|
|
+ SelectionBackgroundColor="Purple"
|
|
|
+ SelectionForegroundColor="White"
|
|
|
+ HeaderForegroundColor="DimGray"
|
|
|
+ HeaderBackgroundColor="Transparent"
|
|
|
+ HeaderCellBorderWidth="0"/>
|
|
|
+ </grid:SfDataGrid.GridStyle>
|
|
|
+ </grid:SfDataGrid>
|
|
|
+ <!-- </pull:SfPullToRefresh.PullableContent> -->
|
|
|
+ <!-- </pull:SfPullToRefresh> -->
|
|
|
|
|
|
</mobile:MobileCard>
|
|
|
|