20 lines
1.3 KiB
Plaintext
20 lines
1.3 KiB
Plaintext
|
<UserControl x:Class="Aitex.Core.UI.DeviceControl.AITHeaterControl"
|
||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||
|
mc:Ignorable="d" d:DesignHeight="24" d:DesignWidth="45" BorderThickness="1" x:Name="self">
|
||
|
<Grid MouseLeftButtonUp="Grid_MouseLeftButtonUp" Cursor="Hand" Opacity="1" MouseEnter="Grid_MouseEnter">
|
||
|
<Border Background="Transparent" x:Name="bdRectangle" BorderThickness="1">
|
||
|
<Rectangle Style="{x:Null}" RadiusX="2" RadiusY="2" Name="rectBkground"
|
||
|
Stroke="#373737" Margin="1" Opacity="1" Fill="Gray" StrokeThickness="1"/>
|
||
|
</Border>
|
||
|
<Label Content="{Binding ElementName=self, Path=DeviceData.FeedBack}"
|
||
|
VerticalContentAlignment="Center"
|
||
|
ContentStringFormat="{}{0:F1}°C" FontFamily="Verdana"
|
||
|
FontSize="{Binding ElementName=self, Path=FontSizeSetting}"
|
||
|
HorizontalContentAlignment="Center"
|
||
|
x:Name="labelValue" Margin="0,-2,-2,-2" Foreground="{Binding ElementName=self, Path=ForegroundSetting}" />
|
||
|
</Grid>
|
||
|
</UserControl>
|