<UserControl x:Class="OVCS.ClientWpf.VideoHidePanel"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:OVCS.ClientWpf"
             mc:Ignorable="d" 
             Height="45"
             Background="#404040"
             Width="190"                    
             Margin="2,0,2,2">
    <Grid  Background="#404040">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Border BorderBrush="#F7F7F7"  Grid.Column="0" BorderThickness="2" CornerRadius="20"  ToolTip="头像"  Margin="5,0"
                    Height="40" Width="40">
            <Border.Background>
                <ImageBrush x:Name="pictureBox_Head" ImageSource="Resources/head.png"/>
            </Border.Background>
        </Border>
        <Grid Grid.Column="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <TextBlock  
                    Grid.Row="0"
                    Text="aa02" 
                    VerticalAlignment="Center" 
                    Margin="5,0" HorizontalAlignment="Left"
                    Foreground="#FFFFFF" 
                    FontSize="15" 
                    x:Name="toolStrip1"  
                    />
            <StackPanel  Grid.Row="1" Orientation="Horizontal" Margin="5,0">
                <Image 
                    x:Name="pictureBox_Camera" 
                    ToolTip="摄像头已打开" 
                    Visibility="Collapsed"
                    HorizontalAlignment="Right"
                    VerticalAlignment="Center" 
                    Source="Resources/cameraNor.png" 
                    Margin="0,0,5,0"
                    Height="20" Width="20"/>
                <Image 
                    x:Name="pictureBox_Mic" 
                    ToolTip="麦克风已打开" 
                    HorizontalAlignment="Right"
                    VerticalAlignment="Center" 
                    Source="Resources/micNor.png" 
                    Height="20" Width="20"/>
                <ProgressBar  x:Name="decibelProgress" Margin="5,0" Height="7" Width="70" Maximum="100"/>
            </StackPanel>
        </Grid>
    </Grid>
</UserControl>
