| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <UserControl x:Class="MuchInfo.Chart.WPF.Controls.Utilities.ChartMenuItem"
- 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 x:Name="LayoutRoot" Background="#FFF0F0F0">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="26" />
- <ColumnDefinition Width="2" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="auto" />
- </Grid.ColumnDefinitions>
- <Border x:Name="Hover"
- Grid.ColumnSpan="4"
- Padding="1,0,1,0"
- Visibility="Collapsed">
- <Rectangle RadiusX="4"
- RadiusY="4"
- Stroke="#FF96D9F9">
- <Rectangle.Fill>
- <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
- <LinearGradientBrush.GradientStops>
- <GradientStop Offset="0" Color="#FFF1F8FB" />
- <GradientStop Offset="1" Color="#FFBAE4F6" />
- </LinearGradientBrush.GradientStops>
- </LinearGradientBrush>
- </Rectangle.Fill>
- </Rectangle>
- </Border>
- <Border>
- <Border.Background>
- <LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
- <LinearGradientBrush.GradientStops>
- <GradientStop Offset="0" Color="whitesmoke" />
- <GradientStop Offset="1" Color="#FFD4D8E6" />
- </LinearGradientBrush.GradientStops>
- </LinearGradientBrush>
- </Border.Background>
- <Image x:Name="imgMenu"
- Grid.Column="0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center" />
- </Border>
- <Rectangle Grid.Column="1"
- Width="1"
- Stroke="#FFA0A0B4" />
- <TextBlock x:Name="lblMenu"
- Grid.Column="2"
- MinWidth="80"
- Padding="8,4,12,4"
- Text="Hello" />
- </Grid>
- </UserControl>
|