* Creating a control for the overlay * using Interactivity * trying to bind by reference * fix bindings * remove unused packages * Move getter/setter to show method * Convert to AutoProperty * Make text copied notification configurable * cache settings, removed unused file
23 lines
880 B
XML
23 lines
880 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"
|
|
d:DesignHeight="300"
|
|
d:DesignWidth="600"
|
|
mc:Ignorable="d"
|
|
Visibility="{Binding ShowOverlay, Mode=OneWay, Converter={StaticResource TrueToVisibleConverter}}">
|
|
<Grid
|
|
Grid.Row="0"
|
|
Margin="12"
|
|
Padding="6"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Bottom">
|
|
<Grid.Background>
|
|
<SolidColorBrush Color="{ThemeResource SystemAccentColor}" />
|
|
</Grid.Background>
|
|
<TextBlock Foreground="White" Text="{Binding OverlayContent}" />
|
|
</Grid>
|
|
</UserControl>
|