You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.5 KiB
39 lines
1.5 KiB
<Application x:Class="ICSharpCode.ILSpy.App"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:styles="urn:TomsToolbox.Wpf.Styles"
|
|
xmlns:toms="urn:TomsToolbox"
|
|
xmlns:themes="clr-namespace:ICSharpCode.ILSpy.Themes"
|
|
xmlns:composition="urn:TomsToolbox.Composition"
|
|
xmlns:util="clr-namespace:ICSharpCode.ILSpy.Util">
|
|
<Application.Resources>
|
|
<Style x:Key="DialogWindow" TargetType="{x:Type Window}">
|
|
<Setter Property="ShowInTaskbar" Value="False" />
|
|
<Setter Property="UseLayoutRounding" Value="True" />
|
|
<Setter Property="TextOptions.TextFormattingMode" Value="Display" />
|
|
<Setter Property="toms:StyleBindings.Behaviors">
|
|
<Setter.Value>
|
|
<toms:BehaviorCollection>
|
|
<themes:WindowStyleManagerBehavior />
|
|
</toms:BehaviorCollection>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Static styles:ResourceKeys.ButtonStyle}}">
|
|
<Setter Property="MinWidth" Value="73" />
|
|
<Setter Property="Padding" Value="9,1,9,1" />
|
|
</Style>
|
|
|
|
<Style TargetType="ScrollViewer">
|
|
<Setter Property="toms:StyleBindings.Behaviors">
|
|
<Setter.Value>
|
|
<toms:BehaviorCollection>
|
|
<toms:AdvancedScrollWheelBehavior UseScrollingAnimation="{Binding Path=(util:SettingsService.DisplaySettings).EnableSmoothScrolling, Source={composition:Import util:SettingsService}}"/>
|
|
</toms:BehaviorCollection>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
</Application.Resources>
|
|
</Application>
|