Bind export button visibility on the guard property

pull/145/head
Alexey Golub 6 years ago
parent e665356890
commit 4a3dc5c5ee

@ -279,7 +279,7 @@
VerticalAlignment="Bottom" VerticalAlignment="Bottom"
Command="{s:Action ExportChannels}" Command="{s:Action ExportChannels}"
Style="{StaticResource MaterialDesignFloatingActionAccentButton}" Style="{StaticResource MaterialDesignFloatingActionAccentButton}"
Visibility="{Binding IsEnabled, RelativeSource={RelativeSource Self}, Converter={x:Static s:BoolToVisibilityConverter.Instance}}"> Visibility="{Binding CanExportChannels, Converter={x:Static s:BoolToVisibilityConverter.Instance}}">
<materialDesign:PackIcon <materialDesign:PackIcon
Width="32" Width="32"
Height="32" Height="32"

Loading…
Cancel
Save