34 lines
1.3 KiB
XML
34 lines
1.3 KiB
XML
<UserControl x:Class="CtrEditor.ObjetosSim.ucSistemaFluidos"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:vm="clr-namespace:CtrEditor.ObjetosSim">
|
|
|
|
<UserControl.DataContext>
|
|
<vm:osSistemaFluidos/>
|
|
</UserControl.DataContext>
|
|
|
|
<Grid>
|
|
<Grid x:Name="ContenedorVisual" Background="Transparent">
|
|
<!-- El DrawingVisual renderizará las partículas aquí -->
|
|
</Grid>
|
|
|
|
<!-- Panel informativo opcional que se puede ocultar -->
|
|
<Border Padding="5"
|
|
Background="#60000000"
|
|
CornerRadius="5"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Top"
|
|
Margin="5">
|
|
<StackPanel>
|
|
<TextBlock Text="{Binding Nombre}"
|
|
Foreground="White"
|
|
FontWeight="Bold"/>
|
|
<TextBlock Text="{Binding NumeroParticulas, StringFormat='Partículas: {0}'}"
|
|
Foreground="White"/>
|
|
<TextBlock Text="{Binding Fps, StringFormat='FPS: {0:F1}'}"
|
|
Foreground="White"/>
|
|
</StackPanel>
|
|
</Border>
|
|
</Grid>
|
|
</UserControl>
|