| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <UserControl x:Class="MuchInfo.Chart.Infrastructure.Controls.FlatToolbatTextAndImageButton"
- 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"
- mc:Ignorable="d">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="auto" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="auto" />
- </Grid.ColumnDefinitions>
- <Border x:Name="theBorder"
- Grid.ColumnSpan="2"
- Margin="0,1,0,1"
- Background="Transparent"
- BorderBrush="LightSteelBlue"
- BorderThickness="0"
- CornerRadius="2"
- MouseEnter="theBorder_MouseEnter"
- MouseLeave="theBorder_MouseLeave"
- MouseLeftButtonDown="theBorder_MouseLeftButtonDown"
- MouseLeftButtonUp="theBorder_MouseLeftButtonUp"
- Padding="1">
- <StackPanel x:Name="theStack" Orientation="Horizontal">
- <Image x:Name="theImage" Margin="3,0,3,0" />
- <TextBlock x:Name="theText"
- Margin="3,0,3,0"
- VerticalAlignment="Center" />
- </StackPanel>
- </Border>
- <Border x:Name="Seperator"
- Grid.Column="2"
- Width="1"
- Margin="3,4,3,4"
- BorderBrush="DarkGray"
- BorderThickness="1"
- Visibility="Collapsed" />
- <Border x:Name="borderDisable"
- Grid.ColumnSpan="2"
- Margin="0,1,0,1"
- Background="#99888888"
- CornerRadius="2"
- Visibility="Collapsed" />
- </Grid>
- </UserControl>
|