mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 03:37:59 +01:00
* project converted to sdk style * image resizer core31 * image resizer test core31 * project and setup fixes
36 lines
1.6 KiB
XML
36 lines
1.6 KiB
XML
<Application x:Class="ImageResizer.App"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:m="clr-namespace:ImageResizer.Models"
|
|
xmlns:sys="clr-namespace:System;assembly=System.Runtime"
|
|
xmlns:v="clr-namespace:ImageResizer.Views">
|
|
|
|
<Application.Resources>
|
|
<ObjectDataProvider x:Key="ResizeFitValues"
|
|
MethodName="GetValues"
|
|
ObjectType="sys:Enum">
|
|
<ObjectDataProvider.MethodParameters>
|
|
<x:Type Type="{x:Type m:ResizeFit}"/>
|
|
</ObjectDataProvider.MethodParameters>
|
|
</ObjectDataProvider>
|
|
<ObjectDataProvider x:Key="ResizeUnitValues"
|
|
MethodName="GetValues"
|
|
ObjectType="sys:Enum">
|
|
<ObjectDataProvider.MethodParameters>
|
|
<x:Type Type="{x:Type m:ResizeUnit}"/>
|
|
</ObjectDataProvider.MethodParameters>
|
|
</ObjectDataProvider>
|
|
<v:EnumValueConverter x:Key="EnumValueConverter"/>
|
|
<v:AutoDoubleConverter x:Key="AutoDoubleConverter"/>
|
|
<v:BoolValueConverter x:Key="BoolValueConverter"/>
|
|
<Style x:Key="MainInstructionTextBlockStyle" TargetType="TextBlock">
|
|
<Setter Property="FontSize" Value="12pt"/>
|
|
<Setter Property="Foreground" Value="#039"/>
|
|
</Style>
|
|
<Style TargetType="TextBox">
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
</Style>
|
|
</Application.Resources>
|
|
|
|
</Application>
|