GoldoWinformsExtensions 1.0.2

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package GoldoWinformsExtensions --version 1.0.2
                    
NuGet\Install-Package GoldoWinformsExtensions -Version 1.0.2
                    
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="GoldoWinformsExtensions" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GoldoWinformsExtensions" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="GoldoWinformsExtensions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GoldoWinformsExtensions --version 1.0.2
                    
#r "nuget: GoldoWinformsExtensions, 1.0.2"
                    
#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.
#:package GoldoWinformsExtensions@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=GoldoWinformsExtensions&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=GoldoWinformsExtensions&version=1.0.2
                    
Install as a Cake Tool

Librería con algunas extensiones de Winforms para DataGridView y ComboBox.

Agrega los siguientes metodos al DataGridView:

  • SetupBehaviour(DataGridViewCellEventHandler cellClickEvent = null, Func<DataGridView, object> bindingAction = null) Necesario para el comportamiento normal del grid. Pueden colocarse todas las configuraciones iniciales en bindingAction utilizando lambda con las formas:

    • x ⇒ x.ReadOnly = false
    • x ⇒ { x.ReadOnly = false; return x; }
  • Grid.Add(object obj, bool checkflags = true) Acepta cualquier objeto, lo analiza y lo carga en el grid como una nueva fila, con sus respectivas columnas. Este metodo chequea si las propiedades y atributos poseen el flag "VisibleOnGrid(nombre)" para definir si deben ser renderizadas con el nombre que se provea. Si se especifica checkflags = false, se cargarán todas las propiedades y atributos.

  • Grid.Clear() Borra los datos del grid.

  • Grid.GetCellAt(int row, int column) Obtiene una celda especifica con sus coordenadas.

  • Grid.GetCellValues<T>(params object[] indexes) Obtiene valores especificos de cada columna de una fila. Soporta objetos enteros o tuplas.

  • Grid.GetVisibleProperties<T>(T obj = null, bool checkflags = true) Obtiene las propiedades visibles de un objeto (chequeando si posee el flag "VisibleOnGrid(string nombre)".

  • Grid.UpdateNames<T>(Func<string, string> func = null) Permite actualizar los nombres de las columnas. Hecho especificamente para utilizar un traductor.

Tambien agrega un metodo al ComboBox:

  • GetSelectedObject<Tout>() Obtiene el objeto seleccionado. Especialmente util cuando se asigna un objeto complejo a un combobox y se desea obtener solo el objeto seleccionado.
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.  net9.0-windows was computed.  net10.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