<?xml version="1.0" encoding="utf-8" ?>
<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Microsoft.PowerToys.Settings.UI.Controls">
    <Style TargetType="local:GPOInfoControl">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="local:GPOInfoControl">
                    <StackPanel Orientation="Vertical">
                        <ContentPresenter Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" />
                        <InfoBar
                            x:Uid="GPO_SettingIsManaged"
                            Margin="0,4,0,0"
                            IsClosable="False"
                            IsOpen="{TemplateBinding ShowWarning}"
                            IsTabStop="{TemplateBinding ShowWarning}"
                            Severity="Informational">
                            <InfoBar.IconSource>
                                <FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="&#xE72E;" />
                            </InfoBar.IconSource>
                        </InfoBar>
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
