SV2功能增加
一些功能的修复
This commit is contained in:
@@ -225,10 +225,9 @@
|
||||
</Grid>
|
||||
|
||||
</TabItem>
|
||||
|
||||
</TabControl>
|
||||
|
||||
|
||||
|
||||
</Grid>
|
||||
|
||||
<Border
|
||||
@@ -236,12 +235,23 @@
|
||||
Margin="1,2,1,2"
|
||||
Background="Gray"
|
||||
CornerRadius="3">
|
||||
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="12"
|
||||
Foreground="White"
|
||||
Text="{Binding ElementName=MeterInstance, Path=MeterName}" />
|
||||
Text="{Binding ElementName=MeterInstance, Path=MeterName}">
|
||||
<TextBlock.ContextMenu>
|
||||
<ContextMenu>
|
||||
<!--
|
||||
ContextMenu在WPF中是一个特殊元素,它不在常规视觉树中,而是在独立的窗口中,
|
||||
这导致ElementName绑定可能无法正常工作,没有使用Command处理,所以用这个方式来获取
|
||||
-->
|
||||
<MenuItem Click="ExdMenuClick" Header="更多控制" />
|
||||
</ContextMenu>
|
||||
</TextBlock.ContextMenu>
|
||||
</TextBlock>
|
||||
</Border>
|
||||
</Grid>
|
||||
</materialDesign:Card>
|
||||
|
||||
Reference in New Issue
Block a user