| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <UserControl
- x:Class="Aitex.Core.UI.Control.AnalogControl4Jet"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:converters="clr-namespace:MECF.Framework.UI.Core.Converters"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- x:Name="Self"
- Width="38"
- Height="36"
- BorderThickness="1"
- mc:Ignorable="d">
- <UserControl.Resources>
- <converters:BoolVisibilityConverter x:Key="boolVisibilityConverter"/>
- </UserControl.Resources>
- <Grid
- Cursor="Hand"
- MouseEnter="Grid_MouseEnter"
- MouseLeftButtonUp="Grid_MouseLeftButtonUp"
- Opacity="1"
- TouchUp="Grid_TouchUp">
- <Grid.RowDefinitions>
- <RowDefinition Height="18"/>
- <RowDefinition Height="18"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="38"/>
- </Grid.ColumnDefinitions>
- <Border
- x:Name="topBorder"
- Grid.Row="0"
- Grid.ColumnSpan="2"
- Margin="0,0,2,0"
- BorderBrush="Black"
- BorderThickness="1,1,1,1">
- <Grid>
- <Rectangle Name="rectSetPoint"/>
- <Label
- x:Name="labelSetPoint"
- Padding="0,2,0,0"
- HorizontalContentAlignment="Center"
- Content="{Binding ElementName=Self, Path=ViewName, UpdateSourceTrigger=PropertyChanged}"
- FontFamily="Arial,SimSun"
- FontSize="10"
- FontWeight="Bold"
- Foreground="Black"/>
- </Grid>
- </Border>
- <Border
- x:Name="downBorder"
- Grid.Row="1"
- Grid.Column="0"
- Margin="0,0,2,2"
- BorderBrush="Black"
- BorderThickness="1,0,1,1">
- <Grid>
- <Border x:Name="bdRectangle">
- <Rectangle Name="rectBkground"/>
- </Border>
- <TextBlock
- x:Name="labelValue1"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontFamily="Arial,SimSun"
- FontSize="10"
- FontWeight="Bold"
- Foreground="Black"
- Text="{Binding ElementName=Self, Path=ShowValue, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}"/>
- </Grid>
- </Border>
- </Grid>
- </UserControl>
|