ActionIcon 1.0.0
See the version list below for details.
dotnet add package ActionIcon --version 1.0.0
NuGet\Install-Package ActionIcon -Version 1.0.0
<PackageReference Include="ActionIcon" Version="1.0.0" />
paket add ActionIcon --version 1.0.0
#r "nuget: ActionIcon, 1.0.0"
// 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" 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 :
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 :
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 :
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 :
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. |
-
.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.