<UserControl x:Class="CtrEditor.ObjetosSim.ucBotella" 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:osBotella />
    </UserControl.DataContext>

    <Grid>
        <Ellipse Height="{Binding Diametro, Converter={StaticResource MeterToPixelConverter}}"
                Stroke="{Binding ColorButton_oculto}" Fill="Gray"
                Width="{Binding Diametro, Converter={StaticResource MeterToPixelConverter}}" StrokeThickness="0.5" />
        
        <!-- ✅ NUEVO: Número del nivel de deslizamiento en el centro -->
        <TextBlock Text="{Binding NivelDeslizamiento, StringFormat='{}{0:F0}'}"
                   HorizontalAlignment="Center"
                   VerticalAlignment="Center"
                   FontSize="4"
                   FontWeight="Bold"
                   Foreground="White"
                   Background="Gray"
                   Padding="1"
                   Opacity="0.8" />
    </Grid>

</UserControl>