终端一体化运控平台
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.
 
 
 

18 regels
818 B

  1. <UserControl
  2. x:Class="BPASmartClient.CustomResource.UserControls.Thermometer"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:BPASmartClient.CustomResource.UserControls"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. d:DesignHeight="450"
  9. d:DesignWidth="800"
  10. mc:Ignorable="d">
  11. <Viewbox>
  12. <Canvas
  13. Name="canvas1"
  14. Width="{Binding Width, RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}}"
  15. Height="{Binding Height, RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}}" />
  16. </Viewbox>
  17. </UserControl>