2026-03-10 19:56:55 +00:00
|
|
|
<UserControl x:Class="OperationControl.Views.Operacao.OperacaoTopView"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
2026-03-12 20:03:24 +00:00
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
2026-03-13 14:05:41 +00:00
|
|
|
xmlns:controls="clr-namespace:OperationControl.Controls"
|
2026-03-12 20:03:24 +00:00
|
|
|
mc:Ignorable="d"
|
|
|
|
|
d:DesignWidth="1400"
|
|
|
|
|
d:DesignHeight="92">
|
2026-03-10 19:56:55 +00:00
|
|
|
|
2026-03-12 20:03:24 +00:00
|
|
|
<Grid Height="92" Margin="10,0,10,0">
|
|
|
|
|
<Border Background="{Binding CorFundo}" BorderBrush="{Binding CorBorda}" BorderThickness="1" CornerRadius="12" Padding="12,10">
|
2026-03-10 19:56:55 +00:00
|
|
|
|
2026-03-12 20:03:24 +00:00
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="240"/>
|
|
|
|
|
<ColumnDefinition Width="10"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="180"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
2026-03-10 19:56:55 +00:00
|
|
|
|
2026-03-12 20:03:24 +00:00
|
|
|
<!-- BLOCO ESQUERDO -->
|
|
|
|
|
<Border Grid.Column="0" Background="#1AFFFFFF" CornerRadius="10" Padding="12,8">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="18"/>
|
|
|
|
|
<RowDefinition Height="28"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<TextBlock Grid.Row="0" Text="ROVER / CONTEXTO" Foreground="#D8D8D8" FontSize="11" FontWeight="SemiBold" VerticalAlignment="Center"/>
|
|
|
|
|
|
|
|
|
|
<Viewbox Grid.Row="1" Stretch="Uniform" StretchDirection="DownOnly" HorizontalAlignment="Left" VerticalAlignment="Center" Height="24">
|
|
|
|
|
<TextBlock Text="{Binding ContextoSelecionado}" Foreground="{Binding CorTexto}" FontSize="18" FontWeight="Bold" TextWrapping="NoWrap"/>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<!-- BARRA VERTICAL -->
|
|
|
|
|
<Border Grid.Column="1" Width="4" Margin="0,4" Background="{Binding CorAccent}" CornerRadius="2"/>
|
|
|
|
|
|
|
|
|
|
<!-- BLOCO CENTRAL -->
|
|
|
|
|
<Border Grid.Column="2" Margin="10,0,10,0" Background="#14000000" CornerRadius="10" Padding="14,8">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
2026-03-13 14:05:41 +00:00
|
|
|
<RowDefinition Height="26"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
2026-03-12 20:03:24 +00:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<!-- STATUS PRINCIPAL -->
|
|
|
|
|
<Viewbox Grid.Row="0" Stretch="Uniform" StretchDirection="DownOnly" HorizontalAlignment="Left" VerticalAlignment="Center" Height="26">
|
|
|
|
|
<TextBlock Text="{Binding TituloStatus}" Foreground="{Binding CorTexto}" FontSize="24" FontWeight="Bold" TextWrapping="NoWrap"/>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
|
|
|
|
|
<!-- MOTIVO -->
|
2026-03-13 14:05:41 +00:00
|
|
|
<controls:AutoFitTextBlock Grid.Row="1" Text="{Binding MotivoPrincipal}" Foreground="#F2F2F2" FontSize="14" FontWeight="SemiBold" MinFontSize="10" MaxLines="2" TextWrapping="Wrap" VerticalAlignment="Center"/>
|
2026-03-12 20:03:24 +00:00
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<!-- BLOCO DIREITO -->
|
|
|
|
|
<Border Grid.Column="3" Background="#1AFFFFFF" CornerRadius="10" Padding="10,8">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="28"/>
|
|
|
|
|
<RowDefinition Height="24"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<Border Grid.Row="0" Background="{Binding CorBadge}" CornerRadius="14" Padding="10,4" HorizontalAlignment="Stretch" VerticalAlignment="Center">
|
|
|
|
|
<Viewbox Stretch="Uniform" StretchDirection="DownOnly" Height="18">
|
|
|
|
|
<TextBlock Text="{Binding BadgeTexto}" Foreground="{Binding CorTextoBadge}" FontWeight="Bold" FontSize="13" TextWrapping="NoWrap" HorizontalAlignment="Center"/>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<Viewbox Grid.Row="1" Stretch="Uniform" StretchDirection="DownOnly" Height="16" VerticalAlignment="Bottom">
|
|
|
|
|
<TextBlock Text="{Binding ResumoCurto}" Foreground="{Binding CorTexto}" FontSize="11" FontWeight="SemiBold" TextWrapping="NoWrap" HorizontalAlignment="Center"/>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
</UserControl>
|