GroupBox在“输出”窗口中显示“绑定”警告

时间:2016-04-08 15:51:35

标签: wpf xaml

我已经构建了一个小项目,在调试时我注意到Output窗口中出现以下警告:

System.Windows.Data Information: 10 : Cannot retrieve value using the binding and no valid fallback value exists; using default instead.
MultiBindingExpression:target element is 'Border' (Name=''); target property is 'OpacityMask' (type 'Brush')

我追溯到由GroupBox引起并最终创建了一个新的空白WPF项目,MainWindow.xaml中只有一个空的GroupBox,我仍然遇到上述错误。

<Window x:Class="WpfApplication3.MainWindow"
    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:WpfApplication3"
    mc:Ignorable="d"
    Title="MainWindow" Height="350" Width="525">
<GroupBox>

</GroupBox>

任何帮助理解我收到警告的原因将不胜感激。

0 个答案:

没有答案