-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
144 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
using System.Windows.Markup; | ||
|
||
[assembly: XmlnsDefinition("https://github.com/OrgEleCho/EleCho.WpfSuite/SimpleDesign", "EleCho.WpfSuite.SimpleDesign")] |
35 changes: 35 additions & 0 deletions
35
EleCho.WpfSuite.SimpleDesign/EleCho.WpfSuite.SimpleDesign.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net8.0-windows;net6.0-windows;net48;net47;net46;net45</TargetFrameworks> | ||
<Nullable>enable</Nullable> | ||
<LangVersion>latest</LangVersion> | ||
<UseWPF>true</UseWPF> | ||
<EnableWindowsTargeting>true</EnableWindowsTargeting> | ||
<RootNamespace>EleCho.WpfSuite</RootNamespace> | ||
|
||
<Version>0.0.1</Version> | ||
|
||
<Authors>EleCho</Authors> | ||
<Copyright>Copyright © 2024 EleCho</Copyright> | ||
<PackageProjectUrl>https://github.com/OrgEleCho/EleCho.WpfSuite</PackageProjectUrl> | ||
<PackageIcon>logo.png</PackageIcon> | ||
<PackageTags>WPF;MVVM;Toolkit;Controls;Converters;BindingProxy</PackageTags> | ||
<Description>WPF layout panels, controls, value converters, utilities suite</Description> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Page Remove="SimpleDesignResources.xaml" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\EleCho.WpfSuite\EleCho.WpfSuite.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Resource Include="SimpleDesignResources.xaml" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using System.Windows; | ||
|
||
namespace EleCho.WpfSuite.SimpleDesign | ||
{ | ||
public class SimpleDesignResources : ResourceDictionary | ||
{ | ||
public SimpleDesignResources() | ||
{ | ||
MergedDictionaries.Add(new ResourceDictionary() { Source = new Uri("pack://application:,,,/EleCho.WpfSuite.SimpleDesign;component/SimpleDesignResources.xaml") }); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:ws="clr-namespace:EleCho.WpfSuite;assembly=EleCho.WpfSuite" | ||
xmlns:sys="clr-namespace:System;assembly=mscorlib"> | ||
|
||
<sys:String x:Key="WpfSuiteDesignName">SimpleDesign</sys:String> | ||
|
||
<Style TargetType="{x:Type ws:TextBox}" | ||
BasedOn="{StaticResource {x:Type ws:TextBox}}"> | ||
<Setter Property="CornerRadius" Value="4"/> | ||
</Style> | ||
|
||
<Style TargetType="{x:Type ws:Button}" | ||
BasedOn="{StaticResource {x:Type ws:Button}}"> | ||
<Setter Property="CornerRadius" Value="4"/> | ||
</Style> | ||
|
||
<Style TargetType="{x:Type ws:ToggleButton}" | ||
BasedOn="{StaticResource {x:Type ws:ToggleButton}}"> | ||
<Setter Property="CornerRadius" Value="4"/> | ||
</Style> | ||
|
||
<Style TargetType="{x:Type ws:ListBox}" | ||
BasedOn="{StaticResource {x:Type ws:ListBox}}"> | ||
<Setter Property="CornerRadius" Value="4"/> | ||
</Style> | ||
|
||
<Style TargetType="{x:Type ws:ListBoxItem}" | ||
BasedOn="{StaticResource {x:Type ws:ListBoxItem}}"> | ||
<Setter Property="CornerRadius" Value="4"/> | ||
</Style> | ||
|
||
</ResourceDictionary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters