|
14 | 14 | <ContentPage.ToolbarItems>
|
15 | 15 | <ToolbarItem IconImageSource="{AppThemeBinding Light=export_button_light, Dark=export_button_light}" Clicked="ExportButton_Clicked"/>
|
16 | 16 | </ContentPage.ToolbarItems>
|
17 |
| - <StackLayout> |
| 17 | + <dx:DXStackLayout> |
18 | 18 | <dxc:BottomSheet x:Name="bottomSheet" State="{Binding BottomSheetState}" AllowedState="HalfExpanded">
|
19 | 19 | <dxc:BottomSheet.HalfExpandedRatio>
|
20 | 20 | <OnPlatform x:TypeArguments="x:Double">
|
|
58 | 58 | <Setter Property="CheckBoxIndent" Value="15"/>
|
59 | 59 | </Style>
|
60 | 60 | </controls:DockLayout.Resources>
|
61 |
| - <HorizontalStackLayout RadioButtonGroup.GroupName="format" RadioButtonGroup.SelectedValue="{Binding SelectedFormat, Mode=TwoWay}" Spacing="38" controls:DockLayout.Dock="Top"> |
| 61 | + <dx:DXStackLayout Orientation="Horizontal" RadioButtonGroup.GroupName="format" RadioButtonGroup.SelectedValue="{Binding SelectedFormat, Mode=TwoWay}" ItemSpacing="38" controls:DockLayout.Dock="Top"> |
62 | 62 | <RadioButton Value="{x:Static vm:ExportFormat.Pdf}">
|
63 | 63 | <RadioButton.ControlTemplate>
|
64 | 64 | <ControlTemplate>
|
65 |
| - <VerticalStackLayout BindingContext="{Binding Source={RelativeSource TemplatedParent}}"> |
| 65 | + <dx:DXStackLayout Orientation="Vertical" BindingContext="{Binding Source={RelativeSource TemplatedParent}}"> |
66 | 66 | <Border>
|
67 |
| - <Image Source="pdf"/> |
| 67 | + <dx:DXImage Source="pdf"/> |
68 | 68 | </Border>
|
69 | 69 |
|
70 | 70 | <Label Text="PDF" />
|
71 |
| - </VerticalStackLayout> |
| 71 | + </dx:DXStackLayout> |
72 | 72 | </ControlTemplate>
|
73 | 73 | </RadioButton.ControlTemplate>
|
74 | 74 | </RadioButton>
|
75 | 75 | <RadioButton Value="{x:Static vm:ExportFormat.Xlsx}">
|
76 | 76 | <RadioButton.ControlTemplate>
|
77 | 77 | <ControlTemplate>
|
78 |
| - <VerticalStackLayout BindingContext="{Binding Source={RelativeSource TemplatedParent}}"> |
| 78 | + <dx:DXStackLayout Orientation="Vertical" BindingContext="{Binding Source={RelativeSource TemplatedParent}}"> |
79 | 79 | <Border>
|
80 |
| - <Image Source="xlsx"/> |
| 80 | + <dx:DXImage Source="xlsx"/> |
81 | 81 | </Border>
|
82 |
| - |
83 | 82 | <Label Text="XLSX"/>
|
84 |
| - </VerticalStackLayout> |
| 83 | + </dx:DXStackLayout> |
85 | 84 | </ControlTemplate>
|
86 | 85 | </RadioButton.ControlTemplate>
|
87 | 86 | </RadioButton>
|
88 | 87 | <RadioButton Value="{x:Static vm:ExportFormat.Docx}">
|
89 | 88 | <RadioButton.ControlTemplate>
|
90 | 89 | <ControlTemplate>
|
91 |
| - <VerticalStackLayout BindingContext="{Binding Source={RelativeSource TemplatedParent}}"> |
| 90 | + <dx:DXStackLayout Orientation="Vertical" BindingContext="{Binding Source={RelativeSource TemplatedParent}}"> |
92 | 91 | <Border>
|
93 |
| - <Image Source="docx"/> |
| 92 | + <dx:DXImage Source="docx"/> |
94 | 93 | </Border>
|
95 | 94 |
|
96 | 95 | <Label Text="DOCX"/>
|
97 |
| - </VerticalStackLayout> |
| 96 | + </dx:DXStackLayout> |
98 | 97 | </ControlTemplate>
|
99 | 98 | </RadioButton.ControlTemplate>
|
100 | 99 | </RadioButton>
|
101 |
| - </HorizontalStackLayout> |
| 100 | + </dx:DXStackLayout> |
102 | 101 |
|
103 |
| - <VerticalStackLayout Spacing="25" Margin="5,10,0,0" controls:DockLayout.Dock="Top"> |
| 102 | + <dx:DXStackLayout Orientation="Vertical" ItemSpacing="25" Margin="5,10,0,0" controls:DockLayout.Dock="Top"> |
104 | 103 | <dxe:CheckEdit Label="Landscape" IsChecked="{Binding LandscapeSelected}"/>
|
105 | 104 | <dxe:CheckEdit Label="Portrait" IsChecked="{Binding PortraitSelected}"/>
|
106 |
| - </VerticalStackLayout> |
| 105 | + </dx:DXStackLayout> |
107 | 106 |
|
108 | 107 | <dxe:ChoiceChipGroup controls:DockLayout.Dock="Top" Padding="0,25" ChipSelectedBackgroundColor="{AppThemeBinding Light={StaticResource SelectedPaperSizeColor_Light}, Dark={StaticResource SelectedPaperSizeColor_Dark}}" ItemsSource="{local:EnumToItemsSource EnumType={x:Type vm:PaperSize}}" SelectedItem="{Binding SelectedPaperSize}"/>
|
109 | 108 |
|
|
124 | 123 | <dxg:TemplateColumn.DisplayTemplate>
|
125 | 124 | <DataTemplate>
|
126 | 125 | <Grid ColumnDefinitions="Auto,*" Padding="16,8" ColumnSpacing="16" IgnoreSafeArea="True">
|
127 |
| - <Image Source="{Binding Item.Image}" VerticalOptions="Center" HorizontalOptions="Center" WidthRequest="40" HeightRequest="40"> |
128 |
| - <Image.Clip> |
| 126 | + <dx:DXImage Source="{Binding Item.Image}" VerticalOptions="Center" HorizontalOptions="Center" WidthRequest="40" HeightRequest="40"> |
| 127 | + <dx:DXImage.Clip> |
129 | 128 | <EllipseGeometry RadiusX="20" RadiusY="20" Center="20, 20" />
|
130 |
| - </Image.Clip> |
131 |
| - </Image> |
| 129 | + </dx:DXImage.Clip> |
| 130 | + </dx:DXImage> |
132 | 131 | <Label Text="{Binding Item.FullName}" TextColor="{Binding Source={RelativeSource AncestorType={x:Type dxg:DataGridView}}, Path=ActualAppearance.GroupRowFontColor}" VerticalOptions="Center" Grid.Column="1" FontFamily="{Binding Source={RelativeSource AncestorType={x:Type dxg:DataGridView}}, Path=ActualAppearance.GroupRowFontFamily}" FontSize="16"/>
|
133 | 132 | </Grid>
|
134 | 133 | </DataTemplate>
|
|
140 | 139 | <dxg:DateColumn FieldName="HireDate" MinWidth="120" Width="*" />
|
141 | 140 | </dxg:DataGridView.Columns>
|
142 | 141 | </dxg:DataGridView>
|
143 |
| - </StackLayout> |
| 142 | + </dx:DXStackLayout> |
144 | 143 | </ContentPage>
|
0 commit comments