Newer
Older
Correlator / PipeGallery / Chart / BaseControl.xaml
<UserControl x:Class="PipeGallery.Chart.BaseControl"
             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" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid  x:Name="gridMain" >
        <Canvas x:Name="cvsMouseMove"  Width="{Binding ElementName=gridMain,Path=ActualWidth}" Height="{Binding ElementName=gridMain,Path=ActualHeight}">
            <Canvas x:Name="cvsMain" Canvas.Left="0" Height="{Binding ElementName=gridMain,Path=ActualHeight}"  />
        </Canvas>
        <Grid x:Name="gridName" Visibility="Collapsed" Background="#d8d8d8"  Width="70" HorizontalAlignment="Left" VerticalAlignment="Center">
            <Path x:Name="path" Fill="#555555" Width="8" Height="8" Margin="5,0,0,0"
                              Data="M0,0 L0,4 4,2 Z" StrokeThickness="0.8" Stretch="Uniform" 
                              Stroke="#555555"  HorizontalAlignment="Left" VerticalAlignment="Center"/>
            <TextBlock x:Name="tbName" HorizontalAlignment="Right" Foreground="#555555" Text="" TextAlignment="Right" Margin="0,0,10,0"/>
        </Grid>
        <Button x:Name="btnClose" Visibility="Collapsed" HorizontalAlignment="Right" Height="18" Width="20" Margin="18,3" VerticalAlignment="Top" Style="{StaticResource BtnCloseStyle}" />
    </Grid>
</UserControl>