Files
FluentTerminal/FluentTerminal.App/Views/OverlayView.xaml
T
Aleksandar Pesic 85d04eab4b Overlay binding errors fixed, #3 - the best solution (#616)
* Overlay binding bug fixed - the best solution.

* Comment only.
2019-12-03 20:36:23 +01:00

26 lines
1019 B
XML

<UserControl
x:Class="FluentTerminal.App.Views.OverlayView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:viewModels="using:FluentTerminal.App.ViewModels"
d:DesignHeight="300"
d:DesignWidth="600"
mc:Ignorable="d"
Visibility="{Binding ShowOverlay, Mode=OneWay, Converter={StaticResource TrueToVisibleConverter}}">
<UserControl.DataContext>
<viewModels:OverlayViewModel />
</UserControl.DataContext>
<Grid
Margin="12"
Padding="6"
HorizontalAlignment="Right"
VerticalAlignment="Bottom">
<Grid.Background>
<SolidColorBrush Color="{ThemeResource SystemAccentColor}" />
</Grid.Background>
<TextBlock Foreground="White" Text="{Binding OverlayContent}" />
</Grid>
</UserControl>