Nextrek
@ 660
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
<Page x:Class="SmartCharging.NewReviewPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:SmartCharging" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <Border Background="White"> <Grid x:Name="LayoutRoot" Background="White" VerticalAlignment="Stretch" Margin="30,0"> <Grid.ChildrenTransitions> <TransitionCollection> <EntranceThemeTransition/> </TransitionCollection> </Grid.ChildrenTransitions> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <Ellipse Grid.Row="0" Height="90" Width="90" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,40,0,0"> <Ellipse.Fill> <ImageBrush ImageSource="{Binding IconImageUrl}" > </ImageBrush> </Ellipse.Fill> </Ellipse> <TextBlock Text="{Binding Name}" Grid.Row="1" Foreground="#FF666666" FontSize="22" FontWeight="SemiBold" Padding="10,20,10,10" TextWrapping="WrapWholeWords" HorizontalAlignment="Center"></TextBlock> <TextBlock Text="{Binding TypeLabel}" Grid.Row="2" Foreground="#FF666666" FontSize="18" Padding="8,0,8,8" IsHoldingEnabled="False" IsRightTapEnabled="False" IsHitTestVisible="False" IsTapEnabled="False" IsDoubleTapEnabled="False" IsColorFontEnabled="False" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock> <local:ChargeRating x:Name="RatingControl" Grid.Row="3" Grid.ColumnSpan="1" Grid.Column="1" Margin="0,20" HorizontalAlignment="Center" Editable="true" Value="1"></local:ChargeRating> <TextBox PlaceholderText="Scrivi la recensione..." x:Uid="ReviewTextBox" x:Name="ReviewDescriptionTextBox" Grid.Row="4" MinHeight="200" Style="{StaticResource TextBoxStyleDefault}"/> <Button x:Name="SubmitReviewButton" x:Uid="SubmitReviewButton" Grid.Row="5" BorderBrush="#FF564966" Content="Invia" Foreground="#FF564966" Margin="0,35,0,0" Height="64" Style="{StaticResource ButtonStyleFlat}" VerticalAlignment="Bottom" Tapped="SubmitReviewButton_Tapped" /> <ProgressRing x:Name="Loader" IsActive="True" Grid.RowSpan="100" Grid.ColumnSpan="100" Background="#99000000" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsHitTestVisible="True" Visibility="Collapsed" Foreground="#FF2CDAFF"/> </Grid> </Border> </Page> |