WPF ComboBox - showing something different when no items are bound
问题 I have a ComboBox, and i want to change its look when the ItemsSource property is null. When it is in that state, i want to show a TextPanel with the text "Retrieving data" in it, and give it a look kind of similar to the watermarked textbox. I figure to do this i need a ControlTemplate, and a trigger. I have the ControlTemplate here: <ControlTemplate x:Key="LoadingComboTemplate" TargetType="{x:Type ComboBox}"> <Grid> <TextBlock x:Name="textBlock" Opacity="0.345" Text="Retrieving data..."