Rop.Winforms9.Helper 1.0.9

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

// Install Rop.Winforms9.Helper as a Cake Tool
#tool nuget:?package=Rop.Winforms9.Helper&version=1.0.9                

Rop.Winforms9.Helper

Features

Rop.Winforms9.Helper is a group of helpers to work with WinForms

FullNameHelper

This class provides a extension method to get the full name of a control, including its parent hierarchy

WinFormsHelper

This class contains helper methods for working with Windows Forms controls and forms. It includes methods to check if a control is in designer mode, set default icons and fonts, and find controls at specific points.

public static partial class WinFormsHelper
{
    public static bool IsRealDesignerMode(this Control ctrl) { ... }
    public static void SetIcon(this Form f, Icon? ic = null) { ... }
    public static extern int SendMessage(IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam);
    public static void SetDefaultIcon(Icon ico) { ... }
    public static void SetDefaultFont(Font font) { ... }
    public static Font GetDefaultSystemFont();
    public static Form SetVersion(this Form f) { ... }
    public static Control? FindControlAtPoint(this Control container, Point pos) { ... }
    public static Control? FindControlAtCursor(this Form form) { ... }
}

TabControlHelper

This class provides extension methods for working with TabControl controls.

public static class TabControlHelper
{
    public static void HideTabPage(this TabControl tabcontrol, TabPage tp){...}
    public static void ShowTabPage(this TabControl tabcontrol, TabPage tp){...}
}

DrawItemEventHelper

This class contains helper methods for handling item drawing events in Windows Forms controls

public static class DrawItemEventHelper
{
    public static Color ColorSel(this DrawItemEventArgs e, Color color, Color colorSel){...}
    public static void DrawBackgroundEx(this DrawItemEventArgs e, Color backcolor){...}
}

ClipboardEx

This class provides a static class for working with the clipboard

public static class ClipboardEx
{
    public static T ByteArrayToStructure<T>(ReadOnlySpan<byte> bytes) where T : struct {... }
    public static Bitmap CF_DIBV5ToBitmap(byte[] data){...}
    public static Bitmap CF_DIBV5ToBitmap(MemoryStream datastream){...}
    public static Image CreateOpaqueBitmap(this Image image, Color? backgroundColor=null){...}
    public static Image? GetImageEx(){...}
    public static bool ContainsImageEx(){...}
    public static void SetImageMultiFormat(Image img){...}
    public static void SetImageMultiFormatBitmapPng(this Image image){...}
}

CommonStringHelper

This class provides a static class for working with common located strings

SortableBindingList

This class provides a generic sortable binding list


(C)2024 Ramón Ordiales Plaza

Product Compatible and additional computed target framework versions.
.NET net9.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on Rop.Winforms9.Helper:

Package Downloads
Rop.Winforms9.Controls

Controls

Rop.Winforms9.ColumnsListBox

ColumnsListBox

Rop.Winforms9.KeyValueListComboBox

Helper classes for KeyValued ListBox and ComboBox

Rop.Winforms9.DuotoneIcons

DuoTone Icon classes for Winforms

Rop.Winforms9.Basic

Basic Forms classes for Winforms

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.10 76 11/26/2024
1.0.9 72 11/14/2024
1.0.8 71 11/13/2024
1.0.7 69 11/13/2024
1.0.6 69 11/13/2024
1.0.5 68 11/13/2024
1.0.4 68 11/13/2024
1.0.3 91 11/11/2024
1.0.2 89 10/14/2024
1.0.1 92 10/10/2024