mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
30 lines
1.7 KiB
XML
30 lines
1.7 KiB
XML
<UserControl x:Class="VPet_Simulator.Windows.DIYViewer"
|
|
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:VPet_Simulator.Windows"
|
|
xmlns:pu="clr-namespace:Panuon.WPF.UI;assembly=Panuon.WPF.UI" mc:Ignorable="d" d:DesignWidth="346"
|
|
Background="{DynamicResource SecondaryTrans4}">
|
|
<UserControl.ContextMenu>
|
|
<ContextMenu>
|
|
<MenuItem Header="置于顶层" Click="Send_Top_Click" />
|
|
<MenuItem Header="置于底层" Click="Send_Botton_Click" />
|
|
<Separator />
|
|
<MenuItem Header="快捷方式: 选择文件位置" Click="SelectFilePath_Click" />
|
|
<MenuItem Header="快捷键: 捕获按键" IsCheckable="True" Click="MenuItem_Click" />
|
|
<Separator />
|
|
<MenuItem Header="删除" Click="del_this_Click" />
|
|
</ContextMenu>
|
|
</UserControl.ContextMenu>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="3*" />
|
|
<ColumnDefinition Width="8*" />
|
|
</Grid.ColumnDefinitions>
|
|
<TextBox x:Name="TextName" Margin="2" Style="{DynamicResource StandardTextBoxStyle}" pu:TextBoxHelper.Watermark="显示名称" />
|
|
<TextBox x:Name="TextContent" Margin="2" Style="{DynamicResource StandardTextBoxStyle}" pu:TextBoxHelper.Watermark="快捷键或文件位置或网站链接"
|
|
Grid.Column="1" PreviewKeyDown="TextBox_PreviewKeyDown" />
|
|
|
|
</Grid>
|
|
</UserControl>
|