LucidUI 1.0.12

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

// Install LucidUI as a Cake Tool
#tool nuget:?package=LucidUI&version=1.0.12

.NET 6 Build Publish package

alternate text is missing from this package README image alternate text is missing from this package README image

Lucid

Lucid is a free WinForms control library with theming, docking and other functionality. This repository builds upon DarkUI which is no longer actively maintained. Recognizing this, I decided to enhance it by incorporating my own features that align with my specific requirements. By doing so, I have transformed my private repository into a standalone repository, ready to be shared with the community.

Feel free to use this in your own projects.

NOTE: I will occasionally dedicate time to work on this repository, but please note that new features will be introduced sporadically. If you come across any bugs, I kindly request you to create an issue so that I can address them accordingly.

Controls

ChipControl

This control allows you to create, select and highlight chips. When adding a chip to this control it has a default color which can be adjusted when needed. Furthermore it has two selection modes and different options for adjusting it's visual appearance.

ChipControl

// Adding a chip
lucidChipControl1.Chips.Add(new Controls.Chip() { Text = "Sample Chip", BackColor = Color.BlueViolet });

// Different selection modes
lucidChipControl1.SelectionMode = Lucid.Controls.SelectionMode.Multiple;
lucidChipControl1.SelectionMode = Lucid.Controls.SelectionMode.Single;

// Access chips
var allChips = lucidChipControl1.Chips; 

// Check wether the control has chips
var hasChips = lucidChipControl1.HasChips;


// Other look and feel options
lucidChipControl1.SymmetricPadding = 10;
lucidChipControl1.AllowChipSelection = true;
lucidChipControl1.AllowChipDeletion = true;
lucidChipControl1.HighlightChipUnderCursor = true;
lucidChipControl1.ChipsEnabled = true;

TreeView

This TreeView has almost all features a normal TreeView has e.g. it has the option to set a node icon when collapsed or expanded. It also features badges which can be used to highlight individual nodes with an information. This badges are fully customizable with its color and text.

TreeView

Adding a node is pretty straight foward. Just add an node instance to the Nodes collection.

lucidTreeView.Nodes.Add(new Lucid.Controls.LucidTreeNode("Your first node"));

In order to add a single or multiple badges to a node lets first declare a variable for this target node.

var node = new Lucid.Controls.LucidTreeNode("NodeText");

Now that we can access its instance we can also access a nodes own collection of badges. This two properties are imported for us: BadgeCollection and BadgeColors.

Inside the BadgeCollection we only define the text for an badge. You can either directly add an instance to this collection or you just use its overload which accepts three strings.

node.BadgeCollection.AddBadge("uniqueBadgeId", "This is your Badge Text", "referenceToColorById");

You noticed that we also need to provide an ColorId for each badge we create. This colors are managed inside the BadgeColors property. Here you have the option to add a color by a direct instance of System.Drawing.Color or by just passing a hex color string to its overload method.

node.BadgeColors.AddColor("myColorId", Color.Yellow, Color.Black);
node.BadgeColors.AddColor("mySecondColorId", "#5C6BC0", "#000000");

Thats it! If your ColorId matches any of the given badges it will use this visual options to display the badge. This has the advantage that you can reuse the same color for the same node by just creating one color and linking them with the ColorId from the badge.

NOTE: Badges as well as Colors are only valid inside the same node and can not be used across nodes

FileDrop

Button

DockPanel

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0-windows7.0

    • 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.13 39 4/27/2024
1.0.12 166 12/29/2023
1.0.11 131 9/15/2023
1.0.10 123 9/15/2023
1.0.9 127 8/31/2023
1.0.8 126 8/10/2023
1.0.7 136 7/29/2023
1.0.6 152 7/23/2023
1.0.5 162 7/19/2023
1.0.4 139 7/19/2023