BorderedTextButton.xaml 893 B

123456789101112131415161718
  1. <UserControl x:Class="MuchInfo.Chart.Infrastructure.Controls.BorderedTextButton"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. mc:Ignorable="d">
  7. <Border x:Name="borderButton"
  8. Background="LightGray"
  9. BorderBrush="DimGray"
  10. BorderThickness="2"
  11. CornerRadius="4"
  12. MouseEnter="borderButton_MouseEnter"
  13. MouseLeave="borderButton_MouseLeave"
  14. MouseLeftButtonDown="borderButton_MouseLeftButtonDown"
  15. Padding="6,4,6,4">
  16. <TextBlock x:Name="theText" Text="{DynamicResource DrawingTool_Edit_OK}" />
  17. </Border>
  18. </UserControl>