|
- <UserControl x:Class="BPASmartClient.SCADAControl.Silos"
- 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"
- xmlns:local="clr-namespace:BPASmartClient.SCADAControl"
- mc:Ignorable="d"
- d:DesignHeight="270" d:DesignWidth="180" >
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition />
- <RowDefinition />
- </Grid.RowDefinitions>
- <TextBlock
- HorizontalAlignment="Center"
- VerticalAlignment="Bottom"
- Margin="0 0 0 35"
- FontSize="25"
- Foreground="#FFCCD61F"
- Text="{Binding Title,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" />
- <TextBlock
- Grid.Row="1"
- Margin="0,25,0,0"
- HorizontalAlignment="Center"
- FontSize="20"
- Foreground="#FF0084FF"
- Text="{Binding Value,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" />
-
- <TextBlock
- Grid.Row="1"
- Margin="0,70,0,0"
- HorizontalAlignment="Center"
- FontSize="20"
- Foreground="#FF0084FF"
- Text="{Binding Text,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" />
- <Image
- Grid.RowSpan="2"
- Source="/BPASmartClient.SCADAControl;component/Images/光柱.png"
- Stretch="Fill" />
-
- </Grid>
- </UserControl>
|