deeb25a2| 1 | <UserControl xmlns="https://github.com/avaloniaui" |
| 2 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 3 | x:Class="CascadeIDE.Views.UiKit.EcamMetricCard" |
| 4 | x:Name="Root" |
| 5 | x:CompileBindings="False"> |
| 6 | <Border Classes="modeCard" |
| 7 | Padding="10" |
| 8 | Background="{DynamicResource CascadeTheme.PanelBackgroundBrush}" |
| 9 | BorderBrush="{DynamicResource CascadeTheme.EditorColumnBorderBrush}" |
| 10 | BorderThickness="1" |
| 11 | CornerRadius="8"> |
| 12 | <Grid RowDefinitions="Auto,*" RowSpacing="8"> |
| 13 | <TextBlock Grid.Row="0" |
| 14 | Text="{Binding Title, ElementName=Root}" |
| 15 | FontSize="11" |
| 16 | FontWeight="SemiBold" |
| 17 | Opacity="0.75" |
| 18 | Foreground="{DynamicResource CascadeTheme.ChatLabelForeground}"/> |
| 19 | <ContentPresenter Grid.Row="1" |
| 20 | Content="{Binding Content, RelativeSource={RelativeSource AncestorType=UserControl}}"/> |
| 21 | </Grid> |
| 22 | </Border> |
| 23 | </UserControl> |
| 24 | |
| 25 | |
View only · write via MCP/CIDE