WPF: Binding Visibility by string contents

后端 未结 5 1088
孤城傲影
孤城傲影 2021-01-07 22:55

Ok, so here is my XAML:


If InstanceName is null or an

5条回答
  •  心在旅途
    2021-01-07 23:41

    
    

    Then add a DataTrigger to check the value is null and change visibility using Setter. This is the simple method which iam using.

提交回复
热议问题