| 12345678910111213141516171819202122232425262728293031 |
- <UserControl x:Class="MuchInfo.Chart.WPF.Controls.Drawing.ChartDrawingToolbarButton"
- 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">
- <Border x:Name="Border"
- Margin="1"
- Background="Transparent"
- BorderBrush="dimGray"
- BorderThickness="1"
- CornerRadius="2"
- MouseEnter="Border_MouseEnter"
- MouseLeave="Border_MouseLeave"
- MouseLeftButtonDown="Border_MouseLeftButtonDown">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="auto" />
- <ColumnDefinition Width="auto" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Image x:Name="ButtonImage" Margin="2" />
- <TextBlock x:Name="myText"
- Grid.Column="1"
- Margin="2,0,10,0"
- VerticalAlignment="Center"
- Foreground="White"
- Text="text"
- Visibility="Collapsed" />
- </Grid>
- </Border>
- </UserControl>
|