ControlRowList 1.0.2
dotnet add package ControlRowList --version 1.0.2
NuGet\Install-Package ControlRowList -Version 1.0.2
<PackageReference Include="ControlRowList" Version="1.0.2" />
<PackageVersion Include="ControlRowList" Version="1.0.2" />
<PackageReference Include="ControlRowList" />
paket add ControlRowList --version 1.0.2
#r "nuget: ControlRowList, 1.0.2"
#:package ControlRowList@1.0.2
#addin nuget:?package=ControlRowList&version=1.0.2
#tool nuget:?package=ControlRowList&version=1.0.2
ControlRowList
How to Build u own List
Implementation
Just put this in ur XAML. <controlRowList:ControlRowList x:Name="ListGrid" /> and use the Name to add or Remove the control.
Here is an Example of Adding 3 Controls.
ListGrid.AddRow( control1,control2,control3 )
Full Example of Adding a Textbox, Button and a Checkbox
var tBox = new TextBox();
var button = new Button();
var cBox = new CheckBox();
ListGrid.AddRow(tBox, button, cBox);
Default Controls
You can also use DefaultControls if the Controls ur adding is always the Same.
ListGrid.DefaultControls.Add(control1);
ViewModel and DefaultControls
DefaultControls="{Binding ControlCollection}"
The Collection musst be type from Collection<Control>
Summary of All things of ControlRowList
Properties
DefaultControls
A List Of the DefaultControls that will be Added when nothing else is specified
LatestRowId
Is The LatestRowId. You can Also say its the Count of Rows
ControlRows
The List of ControlRow. ControlRow is one Row or Inverted Column
IsInverted
False : horizontal adding ControlRows True : Vertical adding ControlRows
IsFilterActive
Says if the Filter is Active.
MinimumNumberOfRows
The Minimum that the NumberOfRows or Columns(When Inverted) have.
NumberOfRows
The Number of Rows the Columns will Display
NumberOfColumns
The Number of Rows the ControlColumns will Display (Without Controls)
Methods
AddRow()
´´´ AddRow() ´´´
Add The DefaultControls to the Grid
´´´ AddRow([NotNull] Collection<Control> controls) ´´´ ´´´ AddRow([NotNull] params Control[] controls) ´´´
Add the controls to the Grid
Remove(int rowId)
Removed the ControlRow from the Grid with the rowId
Reset()
Resetting all. And Set the NumberOfRows or Columns(Inverted) to minimumNumberOfRows
FilterGrid(string searchText)
Filter the Grid with the searchText. With The IsToFilter you can define what will be Filtered and what not.
RemoveFilter()
Remove the Filter and shows all Controls.
GetRowByElement
Returns the Row from the Element. Returns an Int
Events
IsToFilter
This Event fires when ControlRowList is about to Filter the Control.
With IsFiltered you can say this should be filtered or not
Filtering
This Event fires when ControlRowList is Filtering.
Removing
This Event fires when removing an Element.
Resetting
This Event Fires when resetting the Object to standard.
ElementAdded
This Event Fires when an Element was Added.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- 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 |
|---|
The First release with all importend implementation.