Hyperlinks are staying inactive after setting isEnabled=true to parent control

后端 未结 3 1583
灰色年华
灰色年华 2021-01-02 02:13

I\'ve got a TabItem contanining a listbox, which has an obeservable collection of my feeds class as its item source. When I refresh/load the feeds into the collection I want

3条回答
  •  执念已碎
    2021-01-02 02:59

    It's not just HyperLinks. It seems to be more specifically TextBlock which of course is what you use to wrap a HyperLink in WPF. This will give the same issue :

    
        
        
            
        
    
    

    I was hoping setting IsEnabled="True" would fix it but it doesn't seem to.

    The easy solution is to use a StackPanel with Orientation="Horizontal"

提交回复
热议问题