OnionField.ControlCollections
1.0.0.2
.NET 8.0
This package targets .NET 8.0. The package is compatible with this framework or higher.
.NET Framework 4.5
This package targets .NET Framework 4.5. The package is compatible with this framework or higher.
dotnet add package OnionField.ControlCollections --version 1.0.0.2
NuGet\Install-Package OnionField.ControlCollections -Version 1.0.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="OnionField.ControlCollections" Version="1.0.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OnionField.ControlCollections" Version="1.0.0.2" />
<PackageReference Include="OnionField.ControlCollections" />
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 OnionField.ControlCollections --version 1.0.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OnionField.ControlCollections, 1.0.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 OnionField.ControlCollections@1.0.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=OnionField.ControlCollections&version=1.0.0.2
#tool nuget:?package=OnionField.ControlCollections&version=1.0.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
OnionField.ControlCollections
VB6のコントロール配列のような機能を実装するための基本クラスといくつかのコントロールに対する実装を提供します。
ユーザーはBaseControlCollection<T>を継承するだけで、任意のオブジェクトに Index プロパティを追加できます。
実装例
[ProvideProperty("Index", typeof(CheckBox))]
public class CheckBoxCollection : BaseControlCollection<CheckBox>
{
}
このようにBaseControlCollection<T>を継承すれば、任意のオブジェクトに Index プロパティを追加できます。
クラス
このライブラリには下記のクラスが含まれます。
BaseControlCollectionCheckBoxCollectionLabelCollectionRadioButtonCollectionTextBoxCollection
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
| .NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.5
- No dependencies.
-
net8.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.
IReadOnlyCollection<T>インターフェースのCountプロパティを明示的な実装から暗黙的な実装に変更しました。