终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 2 години
12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <ResourceDictionary
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:local="clr-namespace:BPASmartClient.CustomResource.UserControls">
  5. <!--#region icoButton-->
  6. <Style TargetType="{x:Type local:IcoButton}">
  7. <Setter Property="Template">
  8. <Setter.Value>
  9. <ControlTemplate TargetType="{x:Type local:IcoButton}">
  10. <Grid Name="PART_gr">
  11. <Border
  12. Name="PART_br"
  13. Background="{TemplateBinding Background}"
  14. BorderBrush="{TemplateBinding BorderBrush}"
  15. BorderThickness="{TemplateBinding BorderThickness}" />
  16. <StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
  17. <!--<Grid.ColumnDefinitions>
  18. <ColumnDefinition />
  19. <ColumnDefinition />
  20. </Grid.ColumnDefinitions>-->
  21. <TextBlock
  22. Name="PART_icoText"
  23. Margin="0,0,10,0"
  24. HorizontalAlignment="Right"
  25. VerticalAlignment="Center"
  26. FontFamily="{TemplateBinding FontFamily}"
  27. FontSize="{TemplateBinding FontSize}"
  28. Foreground="{TemplateBinding Foreground}" />
  29. <TextBlock
  30. Name="PART_content"
  31. Grid.Column="1"
  32. HorizontalAlignment="Left"
  33. VerticalAlignment="Center"
  34. FontFamily="{TemplateBinding FontFamily}"
  35. FontSize="{TemplateBinding FontSize}"
  36. Foreground="{TemplateBinding Foreground}" />
  37. </StackPanel>
  38. </Grid>
  39. </ControlTemplate>
  40. </Setter.Value>
  41. </Setter>
  42. </Style>
  43. <!--#endregion-->
  44. </ResourceDictionary>