Back to Devexpress

FieldRetrievedEventArgs.RepositoryItem Property

windowsforms-devexpress-dot-xtradatalayout-dot-fieldretrievedeventargs.md

latest3.0 KB
Original Source

FieldRetrievedEventArgs.RepositoryItem Property

Gets a RepositoryItem descendant that corresponds to the created editor. This property is in effect when a DevExpress editor (BaseEdit descendant) is embedded in the created layout item.

Namespace : DevExpress.XtraDataLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public RepositoryItem RepositoryItem { get; }
vb
Public ReadOnly Property RepositoryItem As RepositoryItem

Property Value

TypeDescription
RepositoryItem

The Repository Item that corresponds to a DevExpress editor embedded in the created layout item.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RepositoryItem property.

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-dashboard-custom-properties/CS/WinForms-Dashboard-Custom-Properties/Modules/ConstantLineUserValueModule.cs#L134

csharp
if(e.FieldName == nameof(ConstantLineModuleData.PaneName))
        InitRepositoryItem(e.RepositoryItem, paneNames);
};

winforms-dashboard-custom-properties/VB/WinForms-Dashboard-Custom-Properties/Modules/ConstantLineUserValueModule.vb#L142

vb
If e.FieldName = NameOf(ConstantLineModuleData.PaneName) Then
    InitRepositoryItem(e.RepositoryItem, paneNames)
End If

See Also

Control

FieldRetrievedEventArgs Class

FieldRetrievedEventArgs Members

DevExpress.XtraDataLayout Namespace