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:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    d:DesignHeight="300"
    d:DesignWidth="300"
    mc:Ignorable="d">
    <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"
            Width="70"
            HorizontalAlignment="Left"
            VerticalAlignment="Center"
            Background="#d8d8d8"
            Visibility="Collapsed">
            <Path
                x:Name="path"
                Width="8"
                Height="8"
                Margin="5,0,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Center"
                Data="M0,0 L0,4 4,2 Z"
                Fill="#555555"
                Stretch="Uniform"
                Stroke="#555555"
                StrokeThickness="0.8" />
            <TextBlock
                x:Name="tbName"
                Margin="0,0,10,0"
                HorizontalAlignment="Right"
                Foreground="#555555"
                Text=""
                TextAlignment="Right" />
        </Grid>
        <Button
            x:Name="btnClose"
            Width="20"
            Height="18"
            Margin="18,3"
            HorizontalAlignment="Right"
            VerticalAlignment="Top"
            Style="{StaticResource BtnCloseStyle}"
            Visibility="Collapsed" />
    </Grid>
</UserControl>