ActionIcon 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ActionIcon --version 1.0.0                
NuGet\Install-Package ActionIcon -Version 1.0.0                
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="ActionIcon" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ActionIcon --version 1.0.0                
#r "nuget: ActionIcon, 1.0.0"                
#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 ActionIcon as a Cake Addin
#addin nuget:?package=ActionIcon&version=1.0.0

// Install ActionIcon as a Cake Tool
#tool nuget:?package=ActionIcon&version=1.0.0                

ActionIcon

ActionIcon is a very small library with a single custom WPF Control : ActionIcon. It uses an icon image source and can add onto it small modifiers like the 'add' modifier, or 'edit' for example.

Example

Consider the file "Document_16x.png" Document_16x.png a resource of the project.

The most basic use is the following :

<ai:ActionIcon
    VerticalAlignment="Center"
    HorizontalAlignment="Center"
    BaseSource="/Document_16x.png" />

Which simply outputs : image

Now let's add some modifiers :

<ai:ActionIcon
    VerticalAlignment="Center"
    HorizontalAlignment="Center"
    BaseSource="/Document_16x.png"
    Action="NEW" />

Boom we got a "new document" icon : image

And you can combine anything you want, but just keep it simple enough to be understandable :

<ai:ActionIcon
    VerticalAlignment="Center"
    HorizontalAlignment="Center"
    BaseSource="/Document_16x.png"
    Action="ADD"
    Status="SYNC" />

Output : image

Finally, you can obviously use your own icon modifiers using ActionSource, StatusSource or ModifierSource (just note that if these properties are different than null, Action, Status and Modifier will respectively be ignored) :

<ai:ActionIcon
    VerticalAlignment="Center"
    HorizontalAlignment="Center"
    BaseSource="/Document_16x.png"
    ModifierSource="/Property_overlay_8x_16x.png" />

Output : image

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 598 6/18/2021 1.0.2 is deprecated because it is no longer maintained.
1.0.1 356 6/14/2021
1.0.0 323 6/13/2021