<Application x:Class="SharepointToolbox.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:SharepointToolbox"
             xmlns:conv="clr-namespace:SharepointToolbox.Views.Converters">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Themes/LightPalette.xaml" />
                <ResourceDictionary Source="/Themes/ModernTheme.xaml" />
            </ResourceDictionary.MergedDictionaries>
            <BooleanToVisibilityConverter x:Key="BoolToVisibilityConverter" />
            <conv:IndentConverter            x:Key="IndentConverter" />
            <conv:BytesConverter             x:Key="BytesConverter" />
            <conv:InverseBoolConverter       x:Key="InverseBoolConverter" />
            <conv:EnumBoolConverter          x:Key="EnumBoolConverter" />
            <conv:StringToVisibilityConverter x:Key="StringToVisibilityConverter" />
            <conv:ListToStringConverter      x:Key="ListToStringConverter" />
            <conv:StorageKindConverter       x:Key="StorageKindConverter" />
            <conv:Base64ToImageSourceConverter x:Key="Base64ToImageConverter" />
            <Style x:Key="RightAlignStyle" TargetType="TextBlock">
                <Setter Property="HorizontalAlignment" Value="Right" />
                <Setter Property="Foreground" Value="{DynamicResource TextBrush}" />
            </Style>
        </ResourceDictionary>
    </Application.Resources>
</Application>
