Advanced DataGridView Documentation

repository·master·Indexed 19 days ago

https://github.com/davidegironi/advanceddatagridview

A .NET WinForms control that extends the standard DataGridView to provide advanced filtering and sorting capabilities. Compatible with Microsoft Windows and .NET Framework 4, .NET Core 3.1, .NET 5, or later.

Tokens
1.3K
Snippets
4
Records
6
Agent score
16%

What's inside Advanced DataGridView

  1. Configure the AutoBuilder build process

    master

    The AutoBuilder.config.ps1 file is used to define the parameters for the automated build and release process of the AdvancedDataGridView solution. It allows you to specify versioning, build modes (Debug/Release), file exclusions, and specific build targets including binary packaging and unit test execution.

    # Example of the build configuration structure
    $builds = @(
    	@{
    		Name = "AdvancedDataGridView";
    		Constants = "";
    		ReleaseBinExcludeProjects = @();
    		ReleaseBinIncludeFiles = @(
    			@{
    				Name = "AdvancedDataGridView";
    				Files = @(
    					@{
    						FileNameFrom = "..\License";
    							FileNameTo = "."
    					},
    						@{
    						FileNameFrom = "..\README.md";
    							FileNameTo = "README.md"
    					}
    				)
    			}
    		);
    		Tests = @();
    		ReleaseSrcCmd = @();
    		ReleaseBinCmd = @();
    	};
    )
  2. Reference AutoBuilder build target configuration

    master

    Each entry in the $builds array defines a specific solution to be processed. Use these keys to customize the build, testing, and packaging for each solution.

    $builds = @(
    	@{
    		Name = "";                         # Name of the solution file (.sln)
    		Constants = "";                    # MSBuild optional constants
    		ReleaseBinExcludeProjects = @();    # Projects to exclude from the release binary package
    		ReleaseBinIncludeFiles = @(
    			@{
    				Name = "";                 # Name for the binary package group
    				Files = @(
    					@{
    						FileNameFrom = "";     # Source file path
    						FileNameTo = "";         # Destination file path/name
    					}
    				)
    			}
    		);
    		Tests = @();                        # Array of unit tests to run
    		ReleaseSrcCmd = @();               # Commands to run before packaging release source
    		ReleaseBinCmd = @();               # Commands to run before packaging release binary
    	};
    )
  3. Reference AutoBuilder global build parameters

    master

    The following global variables control the behavior of the build environment and the output directory structure.

    # Versioning
    $versionMajor = "1"
    $versionMinor = "2"
    $versionBuild = GetVersionBuild
    $versionRevision = "18"
    
    # Paths
    $baseDir  = Resolve-Path .\..\
    $releaseDir = Resolve-Path .\..\..\Release
    
    # Builder Behavior
    $buildDebugAndRelease = $false          # Whether to build both Debug and Release configurations
    $treatWarningsAsErrors = $true          # Whether to fail the build on warnings
    $releaseDebugFiles = $false             # Whether to include debug files in the release
    $removeElderReleaseWithSameVersion = $true # Whether to clean up previous builds of the same version
    
    # Exclusions for packaged release source
    $releaseSrcExcludeFolders = @('"_DevTools"', '".git"')
    $releaseSrcExcludeFiles = @('".git*"')