| 123456789101112131415161718192021222324252627282930 |
- <UserControl
- x:Class="SHJX.Service.Library.Views.ManualControl.ManualButton"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:SHJX.Service.Library.Views.ManualControl"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:pu="clr-namespace:Panuon.UI.Silver;assembly=Panuon.UI.Silver"
- mc:Ignorable="d">
- <UserControl.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="pack://application:,,,/Panuon.UI.Silver;component/Control.xaml" />
- <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
- </ResourceDictionary.MergedDictionaries>
- </ResourceDictionary>
- </UserControl.Resources>
- <Button
- Name="btn_Motor_click"
- Width="40"
- Height="40"
- Margin="5,0"
- pu:ButtonHelper.ClickStyle="Sink"
- pu:ButtonHelper.CornerRadius="20"
- pu:ButtonHelper.HoverBrush="#929FDE"
- Background="#6452A4"
- CommandParameter="{Binding ElementName=btn_Motor_click, Path=Content}"
- Cursor="Hand"
- FontFamily="{StaticResource FontAwesome}" />
- </UserControl>
|