[RelayCommand]
  private void LostFocus()
  {
      GrowlTool.ShowError("123");
  }
<TextBox
    MinWidth="100"
    hc:BorderElement.CornerRadius="0"
    IsReadOnly="{Binding ElementName=CalModeComboBox, Path=SelectedIndex, Converter={StaticResource CalModeToBoolConverter}}"
    Style="{StaticResource TextBoxBaseBaseStyle}"
    Text="{Binding Curve.CrtFactor[0], StringFormat=0.###}"
    TextAlignment="Center">
    <hc:Interaction.Triggers>
        <hc:EventTrigger EventName="LostFocus">
            <hc:InvokeCommandAction Command="{Binding LostFocusCommand}" />
        </hc:EventTrigger>
    </hc:Interaction.Triggers>
</TextBox>

点赞(0) 打赏

评论列表 共有 0 条评论

暂无评论

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部