|
@@ -4,7 +4,9 @@
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
xmlns:xForms="clr-namespace:Syncfusion.SfDataGrid.XForms;assembly=Syncfusion.SfDataGrid.XForms"
|
|
xmlns:xForms="clr-namespace:Syncfusion.SfDataGrid.XForms;assembly=Syncfusion.SfDataGrid.XForms"
|
|
|
xmlns:ui="clr-namespace:XF.Material.Forms.UI;assembly=XF.Material"
|
|
xmlns:ui="clr-namespace:XF.Material.Forms.UI;assembly=XF.Material"
|
|
|
- x:Class="InABox.Mobile.MobileGrid" Background="LightGray">
|
|
|
|
|
|
|
+ xmlns:mobile="clr-namespace:InABox.Mobile;assembly=InABox.Mobile.Shared"
|
|
|
|
|
+ x:Class="InABox.Mobile.MobileGrid"
|
|
|
|
|
+ BackgroundColor="LightGray">
|
|
|
<ContentView.Content>
|
|
<ContentView.Content>
|
|
|
<Grid RowSpacing="0" Background="LightGray">
|
|
<Grid RowSpacing="0" Background="LightGray">
|
|
|
<Grid.RowDefinitions>
|
|
<Grid.RowDefinitions>
|
|
@@ -12,15 +14,15 @@
|
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="*"/>
|
|
|
</Grid.RowDefinitions>
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
- <Grid x:Name="_searchGrid" Grid.Row="0" Background="Transparent" Padding="5">
|
|
|
|
|
- <Frame CornerRadius="5" Background="White" Padding="0,0,0,2">
|
|
|
|
|
- <SearchBar x:Name="Search"
|
|
|
|
|
- IsVisible="true"
|
|
|
|
|
- Placeholder="Search"
|
|
|
|
|
- TextChanged="Search_OnTextChanged"
|
|
|
|
|
- FontSize="14" BackgroundColor="White"/>
|
|
|
|
|
- </Frame>
|
|
|
|
|
- </Grid>
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <mobile:MobileSearchBar
|
|
|
|
|
+ x:Name="Search"
|
|
|
|
|
+ Grid.Row="0"
|
|
|
|
|
+ IsVisible="true"
|
|
|
|
|
+ PlaceHolder="Search"
|
|
|
|
|
+ TextChanged="Search_OnTextChanged"
|
|
|
|
|
+ BackgroundColor="Transparent"/>
|
|
|
|
|
+
|
|
|
|
|
|
|
|
<xForms:SfDataGrid
|
|
<xForms:SfDataGrid
|
|
|
x:Name="Grid"
|
|
x:Name="Grid"
|
|
@@ -31,7 +33,7 @@
|
|
|
SelectionChanged="Grid_OnSelectionChanged"
|
|
SelectionChanged="Grid_OnSelectionChanged"
|
|
|
GridTapped="Grid_OnGridTapped"
|
|
GridTapped="Grid_OnGridTapped"
|
|
|
AllowPullToRefresh="True"
|
|
AllowPullToRefresh="True"
|
|
|
- Background="White">
|
|
|
|
|
|
|
+ BackgroundColor="White">
|
|
|
<xForms:SfDataGrid.GridStyle>
|
|
<xForms:SfDataGrid.GridStyle>
|
|
|
<xForms:DefaultStyle
|
|
<xForms:DefaultStyle
|
|
|
GridCellBorderWidth="0"
|
|
GridCellBorderWidth="0"
|
|
@@ -40,7 +42,8 @@
|
|
|
AlternatingRowColor="WhiteSmoke"
|
|
AlternatingRowColor="WhiteSmoke"
|
|
|
SelectionBackgroundColor="Purple"
|
|
SelectionBackgroundColor="Purple"
|
|
|
SelectionForegroundColor="White"
|
|
SelectionForegroundColor="White"
|
|
|
- HeaderBackgroundColor="LightGray"/>
|
|
|
|
|
|
|
+ HeaderBackgroundColor="LightGray"
|
|
|
|
|
+ HeaderCellBorderWidth="0"/>
|
|
|
</xForms:SfDataGrid.GridStyle>
|
|
</xForms:SfDataGrid.GridStyle>
|
|
|
</xForms:SfDataGrid>
|
|
</xForms:SfDataGrid>
|
|
|
|
|
|