LayoutControl.GetItemByRepositoryItem(RepositoryItem, LayoutControlGroup) Method
Returns the layout item contained in the specified group and holds the control with the specified repository item.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.2.dll
Declaration
public LayoutEditItem GetItemByRepositoryItem(
RepositoryItem repositoryItem,
LayoutControlGroup group
)
Parameters
Name | Type | Description |
---|---|---|
repositoryItem | RepositoryItem | A RepositoryItem object that represents the repository item of the control whose parent layout item is to be returned. |
group | LayoutControlGroup | A LayoutControlGroup object that represents the group in which the search is performed. |
Returns
Type | Description |
---|---|
DevExpress.XtraLayout.LayoutEditItem | A LayoutControlItem object that contains the control with the specified repository item. null (Nothing in Visual Basic) if there is no layout item in the specified group which holds the control with the specified repository item. |
See Also