Ookii.Dialogs.WinForms alternatives and similar packages
Based on the "GUI" category.
Alternatively, view Ookii.Dialogs.WinForms alternatives based on common mentions on social networks and blogs.
-
Avalonia
Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET Foundation community project. -
MaterialDesignInXamlToolkit
Google's Material Design in XAML & WPF, for C# & VB.Net. -
MahApps.Metro
A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort. -
UWP Community Toolkit
The Windows Community Toolkit is a collection of helpers, extensions, and custom controls. It simplifies and demonstrates common developer tasks building .NET apps with UWP and the Windows App SDK / WinUI 3 for Windows 10 and Windows 11. The toolkit is part of the .NET Foundation. -
Windows UI Library
Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications -
HandyControl
Contains some simple and commonly used WPF controls -
MaterialSkin
Theming .NET WinForms, C# or VB.Net, to Google's Material Design Principles. -
Eto.Forms
Cross platform GUI framework for desktop and mobile applications in .NET -
DockPanelSuite
DockPanel Suite - The Visual Studio inspired docking library for .NET WinForms -
metroframework-modern-ui
My humble attempt to bring the new Modern UI alias Metro UI of Windows 8 to .NET Windows Forms applications. -
AvalonEdit
The WPF-based text editor component used in SharpDevelop -
Ooui
A small cross-platform UI library that brings the simplicity of native UI development to the web -
FastColoredTextBox
Fast Colored TextBox for Syntax Highlighting. The text editor component for .NET. -
XWT
A cross-platform UI toolkit for creating desktop applications with .NET and Mono -
AdonisUI
Lightweight UI toolkit for WPF applications offering classic but enhanced windows visuals -
Neutronium
๐ Build .NET desktop applications using HTML, CSS and javascript. -
ScintillaNET
A Windows Forms control, wrapper, and bindings for the Scintilla text editor. -
Ookii.Dialogs.Wpf
Awesome dialogs for Windows Desktop applications built with Microsoft .NET (WPF) -
WinApi
A simple, direct, ultra-thin CLR library for high-performance Win32 Native Interop -
Gtk#
Gtk# is a Mono/.NET binding to the cross platform Gtk+ GUI toolkit and the foundation of most GUI apps built with Mono -
Callisto
A control toolkit for Windows 8 XAML applications. Contains some UI controls to make it easier to create Windows UI style apps for the Windows Store in accordance with Windows UI guidelines. -
SciterSharp
Create .NET cross-platform desktop apps using not just HTML, but all features of Sciter engine: CSS3, SVG, scripting, AJAX, <video>... Sciter is free for commercial use -
Lara
Lara Web Engine is a lightweight C# framework for web user interface development. -
ObjectListView
git clone of https://objectlistview.svn.sourceforge.net/svnroot/objectlistview/cs/trunk -
Bunifu UI Framework
Social App dark UI built with Bunifu UI Framework Ultimate Bundle -
Office Ribbon
A library that implements MS Office Ribbon for WinForms.
Tired of breaking your main and manually rebasing outdated pull requests?
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Ookii.Dialogs.WinForms or a related project?
README
README.md |
---|
Ookii.Dialogs.WinForms
A class library for Windows Forms applications providing several common dialogs. Included are classes for task dialogs, credential dialog, progress dialog, input dialogs, and common file dialogs.
Give a Star! :star:
If you like or are using this project please give it a star. Thanks!
Getting started
Install the Ookii.Dialogs.WinForms package from NuGet:
Install-Package Ookii.Dialogs.WinForms
The included sample application [Ookii.Dialogs.WinForms.Sample
](sample/Ookii.Dialogs.WinForms.Sample/) demonstrate the dialogs for Windows Forms. View the source of this application to see how to use the dialogs.
Windows Presentation Foundation (WPF) compatibility
If you're looking to use these common dialogs on a WPF application, check out Ookii.Dialogs.Wpf.
Included dialogs
Task dialog
Task dialogs are a new type of dialog first introduced in Windows Vista. They provide a superset of the message box functionality.
[A task dialog as it appears on Windows 10](assets/sample-task-dialog-win10.png)
[A task dialog with command links as it appears on Windows 10](assets/sample-task-dialog-command-links-win10.png)
The Ookii.Dialogs.WinForms.TaskDialog
classe provide access to the task dialog functionality. The TaskDialog
class inherits from System.ComponentModel.Component
and offers full support for the Windows Forms designer and component designer of Visual Studio.
The TaskDialog
class requires Windows Vista or a later version of Windows. Windows XP is not supported. Note that it is safe to instantiate the TaskDialog
class and set any of its properties; only when the dialog is shown will a NotSupportedException
be thrown on unsupported operating systems.
Progress dialog
Progress dialogs are a common dialog to show progress during operations that may take a long time. They are used extensively in the Windows shell, and an API has been available since Windows 2000.
[A progress dialog as it appears on Windows 10](assets/sample-progress-dialog-win10.png)
The Ookii.Dialogs.WinForms.ProgressDialog
class provide a wrapper for the Windows progress dialog API. The ProgressDialog
class inherits from System.ComponentModel.Component
and offers full support for the Windows Forms designer and component designer of Visual Studio. The ProgressDialog
class resembles the System.ComponentModel.BackgroundWorker
class and can be used in much the same way as that class.
The progress dialog's behaviour of the ShowDialog
function is slightly different than that of other .NET dialogs; It is recommended to use a non-modal dialog with the Show
function.
The ProgressDialog
class is supported on Windows XP and later versions of Windows. However, the progress dialog has a very different appearance on Windows Vista and later (the image above shows the Vista version), so it is recommended to test on both operating systems to see if it appears to your satisfaction.
When using Windows 7 or later, the ProgressDialog
class automatically provides progress notification in the application's task bar button.
Credential dialog
The Ookii.Dialogs.WinForms.CredentialDialog
class provide wrappers for the CredUI
functionality first introduced in Windows XP. This class provides functionality for saving and retrieving generic credentials, as well as displaying the credential UI dialog. This class does not support all functionality of CredUI
; only generic credentials are supported, thing such as domain credentials or alternative authentication providers (e.g. smart cards or biometric devices) are not supported.
[A credential dialog as it appears on Windows 10](assets/sample-credential-dialog-win10.png)
The CredentialDialog
class inherits from System.ComponentModel.Component
and offers full support for the Windows Forms designer and component designer of Visual Studio.
On Windows XP, the CredentialDialog
class will use the CredUIPromptForCredentials
function to show the dialog; on Windows Vista and later, the CredUIPromptForWindowsCredentials
function is used instead to show the new dialog introduced with Windows Vista. Because of the difference in appearance in the two versions (the image above shows the Vista version), it is recommended to test on both operating systems to see if it appears to your satisfaction.
Input dialog
The input dialog is a dialog that can be used to prompt the user for a single piece of text. Its functionality is reminiscent of the Visual Basic InputBox
function, only with a cleaner API and UI.
[An input dialog as it appears on Windows 10](assets/sample-input-dialog-win10.png)
The Ookii.Dialogs.WinForms.InputDialog
class provides the input dialog functionality for Windows Forms.
Unlike the other classes in this package, this class is not a wrapper for any existing API; the dialog uses a custom implementation in Windows Forms. This dialog is supported on Windows XP and later versions of windows; on Windows Vista and later, the visual styles API is used to draw the dialog to mimic the appearance of task dialogs, as shown in the image above.
The InputDialog
class inherits from System.ComponentModel.Component
and offers full support for the Windows Forms designer and component designer of Visual Studio.
Vista-style common file dialogs
Windows Vista introduced a new style of common file dialogs. As of .NET 3.5 SP1, the Windows Forms OpenFileDialog
and SaveFileDialog
class will automatically use the new style under most circumstances; however, some settings (such as setting ShowReadOnly
to true
) still cause it to revert to the old dialog. The FolderBrowserDialog
still uses the old style.
[The Vista-style folder browser dialog as it appears on Windows 10](assets/sample-folderbrowser-dialog-win10.png)
The Ookii.Dialogs.WinForms.VistaOpenFileDialog
, Ookii.Dialogs.WinForms.VistaSaveFileDialog
and Ookii.Dialogs.WinForms.VistaFolderBrowserDialog
provide these dialogs for Windows Forms (note that in the case of the OpenFileDialog
and SaveFileDialog
it is recommended to use the built-in .NET classes unless you hit one of the scenarios where those classes use the old dialogs).
The classes have been designed to resemble the original Windows Forms classes to make it easy to switch. When the classes are used on Windows XP, they will automatically fall back to the old style dialog.
The Vista-style file and folder dialogs classes for Windows Forms inherit from System.ComponentModel.Component
and offer full support for the Windows Forms designer and component designer of Visual Studio.
Additional functionality
Three additional classes are provided in the Ookii.Dialogs.WinForms library. These classes are used to support the InputDialog
(with the exception of the Aero glass functionality, which the InputDialog
does not use) but are made public for your convenience.
The AdditionalVisualStyleElements
class provides some visual style elements used by task dialogs on Windows Vista and later.
The Glass
class provides functionality for extending Aero glass into the client area of a window on Windows Vista and later, and for drawing text on a glass surface.
The ExtendedForm
class serves as an alternative base class for forms, and provides functionality to automatically use the system font (e.g. Tahoma on XP and Segoe UI on Vista and later), and easy access to some of the functionality of the Glass
class.
Release History
Click on the Releases tab on GitHub.
Copyright © 2009-2021 Ookii Dialogs Contributors - Provided under the [BSD 3-Clause "New" or "Revised" License](LICENSE).
*Note that all licence references and agreements mentioned in the Ookii.Dialogs.WinForms README section above
are relevant to that project's source code only.