feat: 14-效果和可视化对象-3DropShadowEffect-P339
This commit is contained in:
parent
fc20947481
commit
0e8af30072
|
@ -0,0 +1,17 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net8.0-windows</TargetFramework>
|
||||
<RootNamespace>_14_效果和可视化对象_3DropShadowEffect_P339</RootNamespace>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<UseWPF>true</UseWPF>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Resource Include="public\003540AH4M72.jpg"/>
|
||||
<Resource Include="public\bunny.png"/>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -0,0 +1,9 @@
|
|||
<Application x:Class="_14_效果和可视化对象_3DropShadowEffect_P339.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:_14_效果和可视化对象_3DropShadowEffect_P339"
|
||||
StartupUri="MainWindow.xaml">
|
||||
<Application.Resources>
|
||||
|
||||
</Application.Resources>
|
||||
</Application>
|
|
@ -0,0 +1,12 @@
|
|||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.Windows;
|
||||
|
||||
namespace _14_效果和可视化对象_3DropShadowEffect_P339;
|
||||
|
||||
/// <summary>
|
||||
/// Interaction logic for App.xaml
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
using System.Windows;
|
||||
|
||||
[assembly: ThemeInfo(
|
||||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
|
||||
//(used if a resource is not found in the page,
|
||||
// or application resource dictionaries)
|
||||
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
|
||||
//(used if a resource is not found in the page,
|
||||
// app, or any theme specific resource dictionaries)
|
||||
)]
|
|
@ -0,0 +1,40 @@
|
|||
<Window x:Class="_14_效果和可视化对象_3DropShadowEffect_P339.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d"
|
||||
Icon="public/003540AH4M72.jpg" Title="14-效果和可视化对象-3DropShadowEffect-P339" Height="450" Width="800">
|
||||
<StackPanel>
|
||||
<TextBlock FontSize="20" Margin="5">
|
||||
<TextBlock.Effect>
|
||||
<DropShadowEffect />
|
||||
</TextBlock.Effect>
|
||||
|
||||
<TextBlock.Text>14-效果和可视化对象-3DropShadowEffect-P339</TextBlock.Text>
|
||||
</TextBlock>
|
||||
|
||||
<TextBlock FontSize="20" Margin="5">
|
||||
<TextBlock.Effect>
|
||||
<DropShadowEffect Color="SlateBlue" />
|
||||
</TextBlock.Effect>
|
||||
|
||||
<TextBlock.Text>14-效果和可视化对象-3DropShadowEffect-P339</TextBlock.Text>
|
||||
</TextBlock>
|
||||
|
||||
<TextBlock FontSize="20" Foreground="White" Margin="5">
|
||||
<TextBlock.Effect>
|
||||
<DropShadowEffect ShadowDepth="0" />
|
||||
</TextBlock.Effect>
|
||||
|
||||
<TextBlock.Text>14-效果和可视化对象-3DropShadowEffect-P339</TextBlock.Text>
|
||||
</TextBlock>
|
||||
|
||||
<TextBlock FontSize="20" Foreground="LimeGreen" Margin="5">
|
||||
<TextBlock.Effect>
|
||||
<DropShadowEffect ShadowDepth="25" />
|
||||
</TextBlock.Effect>
|
||||
<TextBlock.Text>14-效果和可视化对象-3DropShadowEffect-P339</TextBlock.Text>
|
||||
</TextBlock>
|
||||
</StackPanel>
|
||||
</Window>
|
|
@ -0,0 +1,23 @@
|
|||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace _14_效果和可视化对象_3DropShadowEffect_P339;
|
||||
|
||||
/// <summary>
|
||||
/// Interaction logic for MainWindow.xaml
|
||||
/// </summary>
|
||||
public partial class MainWindow : Window
|
||||
{
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 97 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
|
@ -68,6 +68,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "14-效果和可视化对象
|
|||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "14-效果和可视化对象-2效果338P", "14-效果和可视化对象-2效果338P\14-效果和可视化对象-2效果338P.csproj", "{54FB1DD5-2106-4272-B8FD-21851A4B1CAD}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "14-效果和可视化对象-3DropShadowEffect-P339", "14-效果和可视化对象-3DropShadowEffect-P339\14-效果和可视化对象-3DropShadowEffect-P339.csproj", "{8F8691A8-DB44-4F3E-BCDE-E58A8AF18A5B}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
@ -210,5 +212,9 @@ Global
|
|||
{54FB1DD5-2106-4272-B8FD-21851A4B1CAD}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{54FB1DD5-2106-4272-B8FD-21851A4B1CAD}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{54FB1DD5-2106-4272-B8FD-21851A4B1CAD}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{8F8691A8-DB44-4F3E-BCDE-E58A8AF18A5B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8F8691A8-DB44-4F3E-BCDE-E58A8AF18A5B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8F8691A8-DB44-4F3E-BCDE-E58A8AF18A5B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8F8691A8-DB44-4F3E-BCDE-E58A8AF18A5B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
Loading…
Reference in New Issue