Back to Devexpress

TabbedDocumentUIService.DocumentGroup Property

wpf-devexpress-dot-xpf-dot-docking-dot-tabbeddocumentuiservice-74ef3926.md

latest3.3 KB
Original Source

TabbedDocumentUIService.DocumentGroup Property

Gets or sets a DocumentGroup that is used for representing documents. This is a dependency property.

Namespace : DevExpress.Xpf.Docking

Assembly : DevExpress.Xpf.Docking.v25.2.dll

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public DocumentGroup DocumentGroup { get; set; }
vb
Public Property DocumentGroup As DocumentGroup

Property Value

TypeDescription
DocumentGroup

An DocumentGroup object that is used for representing documents.

|

Remarks

If the DocumentGroup property is not specified, the IDocumentManagerService.CreateDocument method will return null and the required document won’t be created.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DocumentGroup 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.

wpf-docklayoutmanager-serialize-docklayoutmanager-when-tabbeddocumentuiservice-is-used/CS/MainWindow.xaml#L24

xml
<dxmvvm:Interaction.Behaviors>
    <dxdo:TabbedDocumentUIService DocumentGroup="{Binding ElementName=documentGroup}" />
</dxmvvm:Interaction.Behaviors>

wpf-docklayoutmanager-use-services-that-implement-the-idocumentmanagerservice/CS/DXDocumentUIServiceSample/MainWindow.xaml#L38

xml
<dxmvvm:Interaction.Behaviors>
    <dxdo:TabbedDocumentUIService DocumentGroup="{Binding ElementName=documentGroup}" />
</dxmvvm:Interaction.Behaviors>

wpf-diagram-mdi/CS/MainWindow.xaml#L25

xml
<dxmvvm:Interaction.Behaviors>
    <dxdo:TabbedDocumentUIService DocumentGroup="{Binding Source={x:Reference documentHost}}">
        <dxdo:TabbedDocumentUIService.DocumentPanelStyle>

See Also

TabbedDocumentUIService Class

TabbedDocumentUIService Members

DevExpress.Xpf.Docking Namespace