WPF MultiDataTrigger AND condition
问题 I would like to enable a button only when both of my two datagrids have selected items. Right now it is enabled when either of the datagrids have selections. Any ideas? <Button x:Name="button" Content="Z" Grid.Column="1" Margin="0,240,0,0" VerticalAlignment="Top" FontFamily="Wingdings 3" FontSize="21.333" ToolTip="Set the selected alarm for the selected alarm time"> <Button.Style> <Style TargetType="Button"> <Setter Property="IsEnabled" Value="True" /> <Setter Property="Opacity" Value="1" />