<pu:WindowX x:Class="Plugin.ServoManage.ServoModal"
|
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:local="clr-namespace:Plugin.ServoManage"
|
xmlns:pw="https://opensource.panuon.com/wpf"
|
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
xmlns:uic="clr-namespace:HMI.UI.Converter;assembly=HMI.UI"
|
xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI"
|
mc:Ignorable="d"
|
Title="Form"
|
SizeToContent="Height"
|
Width="600"
|
WindowStartupLocation="CenterOwner"
|
Style="{StaticResource ModalWindow}">
|
<Grid Margin="10">
|
<StackPanel x:Name="formPanel">
|
<pu:FormGroup x:Name="FgName" Style="{StaticResource InputFormGroupStyle}"
|
Header="{DynamicResource svo.name}"
|
dp:FormGroupHelper.IsRequired="True"
|
dp:FormGroupHelper.ValidateMethod="ValidateName"
|
GroupName="MyFormGroup">
|
<TextBox x:Name="TbName" Style="{StaticResource EditorTextBoxStyle}" />
|
</pu:FormGroup>
|
|
<pu:FormGroup x:Name="FgUnit" Style="{StaticResource InputFormGroupStyle}"
|
Header="{DynamicResource svo.unit}"
|
dp:FormGroupHelper.IsRequired="True" GroupName="MyFormGroup">
|
<ComboBox x:Name="CbUnit" Style="{StaticResource FormComboxStyle}" SelectedValuePath="Content">
|
<ComboBoxItem>mm</ComboBoxItem>
|
<ComboBoxItem>°</ComboBoxItem>
|
</ComboBox>
|
</pu:FormGroup>
|
</StackPanel>
|
</Grid>
|
</pu:WindowX>
|