EleCho.WpfSuite
0.0.11
Prefix Reserved
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Framework 4.5
This package targets .NET Framework 4.5. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package EleCho.WpfSuite --version 0.0.11
NuGet\Install-Package EleCho.WpfSuite -Version 0.0.11
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EleCho.WpfSuite" Version="0.0.11" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EleCho.WpfSuite --version 0.0.11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EleCho.WpfSuite, 0.0.11"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EleCho.WpfSuite as a Cake Addin #addin nuget:?package=EleCho.WpfSuite&version=0.0.11 // Install EleCho.WpfSuite as a Cake Tool #tool nuget:?package=EleCho.WpfSuite&version=0.0.11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
EleCho.WpfSuite
WPF layout panels, controls, value converters and utilities
Usage
Add XML namespace to your XAML file:
<Window x:Class="WpfTest.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:WpfTest"
xmlns:ws="https://github.com/OrgEleCho/EleCho.WpfSuite"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
...
</Window>
Enjoy!
<Window x:Class="WpfTest.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:WpfTest"
xmlns:ws="https://github.com/OrgEleCho/EleCho.WpfSuite"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<ws:ScrollViewer Margin="12"
ScrollWithWheelDelta="True">
<ws:StackPanel Spacing="8">
<ws:TextBox Width="200"
Placeholder="This is a text box with placeholder"/>
<ws:Image Source="/Assets/TestAvatar.jpg"
CornerRadius="10"/>
<StackPanel>
<TextBlock Text="WrapPanel with spacing"/>
<ItemsControl ItemsSource="{Binding TestItems}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<ws:WrapPanel HorizontalSpacing="8"
VerticalSpacing="8"/>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
</ItemsControl>
</StackPanel>
</ws:StackPanel>
</ws:ScrollViewer>
</Window>
Features
Layout panels:
- StackPanel: Origin stack panel with
Spacing
property - WrapPanel: Origin wrap panel with
HorizontalSpacing
andVerticalSpacing
property - FlexPanel: Flex layout implementation with
HorizontalSpacing
andVerticalSpacing
property
Controls:
- Image: Simple image control with
CornerRadius
property - ScrollViewer: Origin scroll viewer with 'MouseWheelDelta' based scrolling
- ConditionalControl: Display the control based on the condition
- TextBox: Origin text box with
Placeholder
property
Value converters:
- AddNumberConverter: Mathematical calculations, addition
- SubstractNumberConverter: Mathematical calculations, subtraction
- MultiplyNumberConverter: Mathematical calculations, multiplication
- DivideNumberConverter: Mathematical calculations, division
- NumberCompareConverter: Compare between numbers, support
equal
,not equal
,greator than
,greator or equal
,less than
,less or equal
- ObjectCompareConverter: Compare between objects, support
equal
,not equal
- ValueIsNullConverter: Determines whether the object is empty
- ValueIsNotNullConverter: Determines whether the object is not empty
- InvertBooleanConverter: Inverts the boolean value
- ValueConverterGroup: Converts the value using the specified multiple converters
- StringIsNullOrEmptyConverter: Check if string is null or empty, returns a boolean value
- StringIsNotNullOrEmptyConverter: Check if string is not null or empty, returns a boolean value
- StringIsNullOrWhiteSpaceConverter: Check if string is null or white space, returns a boolean value
- StringIsNotNullOrWhiteSpaceConverter: Check if string is not null or white space, returns a boolean value
- CollectionIsNullOrEmptyConverter: Check if collection is null or empty, returns a boolean value
- CollectionIsNotNullOrEmptyConverter: Check if collection is not null or empty, returns a boolean value
- StringToImageSourceConverter: Convert any valid URI string to image source
Utilities:
- BindingProxy: A utility class for binding, commonly used when a collection element has property to be bound to a page DataContext
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. net8.0-windows7.0 is compatible. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 is compatible. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.5
- No dependencies.
-
.NETFramework 4.6
- No dependencies.
-
.NETFramework 4.7
- No dependencies.
-
.NETFramework 4.8
- No dependencies.
-
net6.0-windows7.0
- No dependencies.
-
net8.0-windows7.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on EleCho.WpfSuite:
Package | Downloads |
---|---|
EleCho.WpfSuite.FluentDesign
FluentDesign for WPF Suite |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on EleCho.WpfSuite:
Repository | Stars |
---|---|
OrgEleCho/CurvaLauncher
Simple, light, and fast desktop launcher. 简单、轻量、快速的桌面启动器.
|
|
SlimeNull/ScreenBroadcaster
Screen broadcast and remote control tool based on FFmpeg. 基于 FFmpeg 的屏幕广播与远程操控工具.
|
Version | Downloads | Last updated |
---|---|---|
0.9.11 | 23 | 11/28/2024 |
0.9.10.1 | 53 | 11/27/2024 |
0.9.10 | 87 | 11/22/2024 |
0.9.9.2 | 88 | 11/22/2024 |
0.9.9.1 | 74 | 11/22/2024 |
0.9.9 | 80 | 11/22/2024 |
0.9.8 | 76 | 11/20/2024 |
0.9.7 | 93 | 11/13/2024 |
0.9.6 | 70 | 11/13/2024 |
0.9.5 | 109 | 11/10/2024 |
0.9.4 | 102 | 11/10/2024 |
0.9.3 | 75 | 11/10/2024 |
0.9.2 | 78 | 11/9/2024 |
0.9.1.3 | 99 | 11/9/2024 |
0.9.1.2 | 106 | 10/25/2024 |
0.9.1.1 | 72 | 10/25/2024 |
0.9.1 | 175 | 9/28/2024 |
0.9.0 | 87 | 9/26/2024 |
0.8.1 | 256 | 9/5/2024 |
0.8.0 | 112 | 8/31/2024 |
0.7.4 | 100 | 8/30/2024 |
0.7.3 | 92 | 8/29/2024 |
0.7.2 | 100 | 8/26/2024 |
0.7.1 | 118 | 8/22/2024 |
0.7.0 | 149 | 8/20/2024 |
0.6.7 | 144 | 8/19/2024 |
0.6.6 | 110 | 8/18/2024 |
0.6.5 | 121 | 8/17/2024 |
0.6.4 | 109 | 8/8/2024 |
0.6.3 | 93 | 8/7/2024 |
0.6.2 | 59 | 8/5/2024 |
0.6.1 | 148 | 7/17/2024 |
0.6.0 | 96 | 7/15/2024 |
0.5.3 | 130 | 7/3/2024 |
0.5.2 | 76 | 7/3/2024 |
0.5.1 | 77 | 7/2/2024 |
0.4.1 | 206 | 6/13/2024 |
0.4.0 | 126 | 6/7/2024 |
0.3.3 | 105 | 5/30/2024 |
0.3.2 | 88 | 5/28/2024 |
0.3.1 | 103 | 5/28/2024 |
0.3.0 | 108 | 5/25/2024 |
0.2.1 | 117 | 4/25/2024 |
0.2.0 | 114 | 4/24/2024 |
0.1.6 | 111 | 4/20/2024 |
0.1.5 | 103 | 4/18/2024 |
0.1.4 | 92 | 4/18/2024 |
0.1.3 | 103 | 4/18/2024 |
0.1.2 | 111 | 4/17/2024 |
0.1.1 | 116 | 4/16/2024 |
0.1.0 | 114 | 4/16/2024 |
0.0.14 | 101 | 4/15/2024 |
0.0.13 | 103 | 4/15/2024 |
0.0.12 | 94 | 4/15/2024 |
0.0.11 | 140 | 4/14/2024 |
0.0.10 | 126 | 4/13/2024 |