AdornerBehavior 1.0.0
dotnet add package AdornerBehavior --version 1.0.0
NuGet\Install-Package AdornerBehavior -Version 1.0.0
<PackageReference Include="AdornerBehavior" Version="1.0.0" />
paket add AdornerBehavior --version 1.0.0
#r "nuget: AdornerBehavior, 1.0.0"
// Install AdornerBehavior as a Cake Addin #addin nuget:?package=AdornerBehavior&version=1.0.0 // Install AdornerBehavior as a Cake Tool #tool nuget:?package=AdornerBehavior&version=1.0.0
AdornerBehavior
Adorner Behavior by wuijong and Ashley Davis.
This is a fixed and improved version viable for use in the modern world.
Allows you to easily define adorners in XAML, with no code behind required.
Quick Example
First, define the AdornerBehavior.Adorners collection for the adorning control. Then, you can either set the AdornerBehavior.IsEnabled property to True on the adorning control to show the adorners, or you can bind it's value to some code behind and define a more complex behavior. Both approaches are shown in the Test App.
<Window xmlns:ab="clr-namespace:AdornerBehavior;assembly=AdornerBehavior">
...
<AdornerDecorator>
<Rectangle Width="50"
Height="50"
ab:AdornerBehavior.IsEnabled="True">
<ab:AdornerBehavior.Adorners>
<Ellipse Width="15"
Height="15"
HorizontalAlignment="Left"
ab:AdornerBehavior.HorizontalPlacement="Across"
Stroke="Green" />
...
</ab:AdornerBehavior.Adorners>
</Rectangle>
</AdornerDecorator>
...
</Window>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.6.1
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AdornerBehavior:
Package | Downloads |
---|---|
JamesReport.Forms
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 455 | 4/18/2021 |