27 lines
1.3 KiB
XML
27 lines
1.3 KiB
XML
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:converters="clr-namespace:Torch.Server.Views.Converters"
|
|
xmlns:system="clr-namespace:System;assembly=mscorlib">
|
|
<Style x:Key="{x:Type Window}" TargetType="{x:Type Window}" BasedOn="{StaticResource {x:Type Window}}">
|
|
<Style.Setters>
|
|
<Setter Property="Background" Value="Black"/>
|
|
</Style.Setters>
|
|
</Style>
|
|
<Style x:Key="ValidatedTextBox" TargetType="{x:Type TextBox}">
|
|
<Style.Triggers>
|
|
<Trigger Property="Validation.HasError" Value="True">
|
|
<Setter Property="ToolTip"
|
|
Value="{Binding RelativeSource={RelativeSource Self}, Path=(Validation.Errors)[0].ErrorContent}" />
|
|
<Setter Property="Background" Value="Pink"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
|
|
<Style TargetType="TextBlock" x:Name="LegalshtuffBlock">
|
|
<Setter Property="Visibility" Value="Hidden"/>
|
|
</Style>
|
|
|
|
<converters:ListConverter x:Key="ListConverterString" Type="system:String"/>
|
|
<converters:ListConverter x:Key="ListConverterUInt64" Type="system:UInt64"/>
|
|
<converters:BooleanAndConverter x:Key="BooleanAndConverter"/>
|
|
</ResourceDictionary> |