HandyControl icon indicating copy to clipboard operation
HandyControl copied to clipboard

Bug titleSystem.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='HandyControl.Controls.TagContainer', AncestorLevel='1''. BindingExpression:Path=(0); DataItem=null; target element is 'Tag' (Name=''); target property is 'ShowCloseButton' (type 'Boolean')

Open AscendLiu opened this issue 1 year ago • 0 comments

Describe the bug

版本:HandyControl 3.5.0 并没有开启清除按钮,但是会报错

Steps to reproduce the bug

<hc:CheckComboBox Grid.Row="0" Grid.Column="1" Margin="5" hc:InfoElement.Title="XXX" hc:InfoElement.TitlePlacement="Left" localEx:CheckComBoxHelper.SelectedItems="{Binding SelectPlan.SelectedTemps}" IsEnabled="{Binding SelectPlan.EnableTempTest}" ItemsSource="{Binding AllTemps}" ShowSelectAllButton="True" Style="{StaticResource CheckComboBoxExtend}" />

Expected behavior

No response

Screenshots

image

NuGet package version

None

IDE

No response

Framework type

No response

Windows version

No response

Additional context

No response

AscendLiu avatar Feb 21 '24 02:02 AscendLiu