DetailsView.CreateAutoGeneratedRows(Object) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a set of automatically generated row fields for the specified data item.
protected:
virtual System::Collections::ICollection ^ CreateAutoGeneratedRows(System::Object ^ dataItem);
protected virtual System.Collections.ICollection CreateAutoGeneratedRows(object dataItem);
abstract member CreateAutoGeneratedRows : obj -> System.Collections.ICollection
override this.CreateAutoGeneratedRows : obj -> System.Collections.ICollection
Protected Overridable Function CreateAutoGeneratedRows (dataItem As Object) As ICollection
- dataItem
- Object
The data item for which to create the automatically generated row fields.
An ICollection that contains the automatically generated row fields for the specified data item.
The DetailsView control does not have any properties or attributes from which to generate fields.
When the AutoGenerateRows property is set to true
, the CreateAutoGeneratedRows method is called by the DetailsView control to create a set of automatically generated row fields for the current data item.
When extending the DetailsView class, you can override this method to create your own set of automatically generated row fields.
Produkt | Verzie |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Pripomienky k produktu .NET
.NET je open-source projekt. Ak chcete poskytnúť pripomienky, vyberte prepojenie: