22 lines
1.4 KiB
Plaintext
22 lines
1.4 KiB
Plaintext
|
<UserControl x:Class="MECF.Framework.UI.Client.Ctrlib.UnitControls.MfcControl"
|
||
|
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="70" d:DesignWidth="100" BorderThickness="1">
|
||
|
<Grid MouseLeftButtonUp="Grid_MouseLeftButtonUp" Cursor="Hand" Opacity="1" MouseEnter="Grid_MouseEnter">
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition></RowDefinition>
|
||
|
<RowDefinition></RowDefinition>
|
||
|
</Grid.RowDefinitions>
|
||
|
<Grid Grid.Row="0">
|
||
|
<Rectangle RadiusX="2" RadiusY="2" Name="rectBkground" Stroke="Gray" Margin="0" Opacity="1" Fill="Green" StrokeThickness="2"/>
|
||
|
<Label Content="0.0" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" x:Name="labelValue" Margin="0,-1,-2,0" Foreground="White" />
|
||
|
</Grid>
|
||
|
<Grid Grid.Row="1">
|
||
|
<Rectangle Name="rectSetPoint" RadiusX="2" RadiusY="2" Stroke="Gray" Margin="0" Opacity="1" Fill="CadetBlue" StrokeThickness="2"/>
|
||
|
<Label Content="0.0" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" x:Name="labelSetPoint" Margin="0,-2,-2,0" Foreground="DarkSlateGray" />
|
||
|
</Grid>
|
||
|
</Grid>
|
||
|
</UserControl>
|