TextBlock style triggers
问题 I would like to combine the DisplayNames from two different ViewModels, but only IF the first is not equal to a NullObject. I could easily do this in either a converter or a parent view model, but am hoping my attempt at using DataTrigger has an easy fix. Cheers, Berryl This displays nothing at all: <TextBlock Grid.Column="2" Grid.Row="0" > <TextBlock.Inlines> <Run Text="{Binding HonorificVm.DisplayName}"/> <Run Text="{Binding PersonNameVm.DisplayName}"/> </TextBlock.Inlines> <TextBlock.Style