windowsforms-devexpress-dot-xtraverticalgrid-dot-propertygridcontrol-c305f9b2.md
Creates rows for the bound object’s properties.
Namespace : DevExpress.XtraVerticalGrid
Assembly : DevExpress.XtraVerticalGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
public override void RetrieveFields()
Public Overrides Sub RetrieveFields
The RetrieveFields method doesn’t create rows for nested properties. To create rows for nested properties, use another overload of the RetrieveFields method.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RetrieveFields() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-property-grid-unbound-rows/CS/DXApplication3/Form1.cs#L21
helper.AddUnboundRow("UnboundDateTime", typeof(DateTime));
propertyGridControl1.RetrieveFields();
}
winforms-property-grid-unbound-rows/VB/DXApplication3/Form1.vb#L16
helper.AddUnboundRow("UnboundDateTime", GetType(Date))
propertyGridControl1.RetrieveFields()
End Sub
See Also