feat: WPF控件-9-GroupBox
This commit is contained in:
parent
49a9bb8aab
commit
883c3e5cd0
|
@ -0,0 +1,9 @@
|
||||||
|
<Application x:Class="WPF控件_9_GroupBox.App"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:local="clr-namespace:WPF控件_9_GroupBox"
|
||||||
|
StartupUri="MainWindow.xaml">
|
||||||
|
<Application.Resources>
|
||||||
|
|
||||||
|
</Application.Resources>
|
||||||
|
</Application>
|
|
@ -0,0 +1,12 @@
|
||||||
|
using System.Configuration;
|
||||||
|
using System.Data;
|
||||||
|
using System.Windows;
|
||||||
|
|
||||||
|
namespace WPF控件_9_GroupBox;
|
||||||
|
|
||||||
|
/// <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,18 @@
|
||||||
|
<Window x:Class="WPF控件_9_GroupBox.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"
|
||||||
|
xmlns:local="clr-namespace:WPF控件_9_GroupBox"
|
||||||
|
mc:Ignorable="d"
|
||||||
|
Title="MainWindow" Height="450" Width="800">
|
||||||
|
<GroupBox Header="盒子组" Padding="5" Margin="5" VerticalAlignment="Top">
|
||||||
|
<StackPanel>
|
||||||
|
<RadioButton Margin="3">One </RadioButton>
|
||||||
|
<RadioButton Margin="3">Two</RadioButton>
|
||||||
|
<RadioButton Margin="3">Three</RadioButton>
|
||||||
|
<RadioButton GroupName="New">Four</RadioButton>
|
||||||
|
<Button Margin="3">保存</Button>
|
||||||
|
</StackPanel>
|
||||||
|
</GroupBox>
|
||||||
|
</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 WPF控件_9_GroupBox;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Interaction logic for MainWindow.xaml
|
||||||
|
/// </summary>
|
||||||
|
public partial class MainWindow : Window
|
||||||
|
{
|
||||||
|
public MainWindow()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<TargetFramework>net8.0-windows</TargetFramework>
|
||||||
|
<RootNamespace>WPF控件_9_GroupBox</RootNamespace>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<UseWPF>true</UseWPF>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -16,6 +16,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF控件-7-Popup", "WPF控
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF控件-8-ScrollViewer", "WPF控件-8-ScrollViewer\WPF控件-8-ScrollViewer.csproj", "{84E26482-499C-412E-B43E-931BD0C0E983}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF控件-8-ScrollViewer", "WPF控件-8-ScrollViewer\WPF控件-8-ScrollViewer.csproj", "{84E26482-499C-412E-B43E-931BD0C0E983}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF控件-9-GroupBox", "WPF控件-9-GroupBox\WPF控件-9-GroupBox.csproj", "{04404109-C5C1-44EF-9D1D-224D082DB36B}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
@ -54,5 +56,9 @@ Global
|
||||||
{84E26482-499C-412E-B43E-931BD0C0E983}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{84E26482-499C-412E-B43E-931BD0C0E983}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{84E26482-499C-412E-B43E-931BD0C0E983}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{84E26482-499C-412E-B43E-931BD0C0E983}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{84E26482-499C-412E-B43E-931BD0C0E983}.Release|Any CPU.Build.0 = Release|Any CPU
|
{84E26482-499C-412E-B43E-931BD0C0E983}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{04404109-C5C1-44EF-9D1D-224D082DB36B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{04404109-C5C1-44EF-9D1D-224D082DB36B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{04404109-C5C1-44EF-9D1D-224D082DB36B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{04404109-C5C1-44EF-9D1D-224D082DB36B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|
Loading…
Reference in New Issue