XRSubreport.BookmarkParent Property
Specifies the report control whose bookmark is the parent for subreport bookmarks.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v18.2.dll
Declaration
[SRCategory(ReportStringId.CatNavigation)]
[Browsable(true)]
[DefaultValue(null)]
public XRControl BookmarkParent { get; set; }
<SRCategory(ReportStringId.CatNavigation)>
<Browsable(True)>
<DefaultValue(Nothing)>
Public Property BookmarkParent As XRControl
Property Value
Type | Default | Description |
---|---|---|
XRControl | null |
An XRControl object that specifies the control whose bookmark is the parent for subreport bookmarks. |
Remarks
By default, bookmarks specified in a subreport are displayed in the main report's Document Map at the root level.
Use the BookmarkParent property to specify the report control whose bookmark should be a parent for the subreport's root bookmark. This arranges bookmarks into a parent-child structure reflecting the report elements' hierarchy in the Document Map.
If a subreport contains other subreports, the specified control becomes a parent for their bookmarks as well.