File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
InternetTest/InternetTest Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 839839 </Trigger >
840840 </Style .Triggers>
841841 </Style >
842+ <Style x : Key =" {x:Type ToolTip}" TargetType =" ToolTip" >
843+ <Setter Property =" OverridesDefaultStyle" Value =" true" />
844+ <Setter Property =" HasDropShadow" Value =" True" />
845+ <Setter Property =" FontSize" Value =" 12" />
846+ <Setter Property =" FontWeight" Value =" Normal" />
847+ <Setter Property =" Background" Value =" {DynamicResource Background1}" />
848+ <Setter Property =" Foreground" Value =" {DynamicResource Foreground1}" />
849+ <Setter Property =" FontFamily" Value =" Segoe UI" />
850+ <Setter Property =" Template" >
851+ <Setter .Value>
852+ <ControlTemplate TargetType =" ToolTip" >
853+ <Border
854+ Name =" Border"
855+ Width =" {TemplateBinding Width}"
856+ Height =" {TemplateBinding Height}"
857+ Margin =" 5"
858+ Background =" {TemplateBinding Background}"
859+ BorderBrush =" {DynamicResource LightAccent}"
860+ BorderThickness =" 1" >
861+ <Border .Effect>
862+ <DropShadowEffect
863+ BlurRadius =" 10"
864+ Direction =" 270"
865+ Opacity =" 0.1"
866+ ShadowDepth =" 0"
867+ Color =" {DynamicResource AccentColor}" />
868+ </Border .Effect>
869+ <ContentPresenter
870+ Margin =" 4"
871+ HorizontalAlignment =" Left"
872+ VerticalAlignment =" Center"
873+ TextBlock.FontSize=" 12" />
874+ </Border >
875+ <ControlTemplate .Triggers>
876+ <Trigger Property =" HasDropShadow" Value =" true" >
877+ <Setter TargetName =" Border" Property =" CornerRadius" Value =" 4" />
878+ <Setter TargetName =" Border" Property =" SnapsToDevicePixels" Value =" true" />
879+ </Trigger >
880+ </ControlTemplate .Triggers>
881+ </ControlTemplate >
882+ </Setter .Value>
883+ </Setter >
884+ </Style >
842885 </ResourceDictionary >
843886 </Application .Resources>
844887</Application >
You can’t perform that action at this time.
0 commit comments