Commit 770885ca by wangonghui

二元组锁定后XY值改变

parent e9f9b120
......@@ -48,7 +48,7 @@
EditValue="{Binding Path=Y,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></common:LeftRightTextEdit>
<!-- 编辑模式 -->
<RadioButton Grid.Row="0" Grid.Column="2" Content="Single" Margin="50,0,0,0"
<RadioButton x:Name="rb_Single" Grid.Row="0" Grid.Column="2" Content="Single" Margin="50,0,0,0"
Visibility="{Binding Path=IsEditModeVisible,Converter={StaticResource Bool2VisibilityConverter}}"
IsChecked="True">
<dxmvvm:Interaction.Behaviors>
......
......@@ -388,6 +388,9 @@ namespace VIZ.Package.Module
string field = this.ControlField.FieldIdentifier ?? string.Empty;
this.IsEditModeVisible = !args.Any(p => field.Contains(p));
// 在编辑模式不可见时只能是Single模式
this.GetView<DupletEditPanel>().rb_Single.IsChecked = true;
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment