Back to Devexpress

DocumentGroup.SetSelected(Document) Method

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-documentgroup-dot-setselected-x28-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-document-x29.md

latest2.8 KB
Original Source

DocumentGroup.SetSelected(Document) Method

This member supports the internal infrastructure, and is not intended to be used directly from your code.

Namespace : DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public void SetSelected(
    Document document
)
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Sub SetSelected(
    document As Document
)

Parameters

NameTypeDescription
documentDocument

A Document to be selected.

|

Remarks

The SetSelected method allows you to select a document within the DocumentGroup in code, but does not cause the DocumentManager control to be redrawn. You can use it during the control update process (between the DocumentManager.BeginUpdate and DocumentManager.EndUpdate methods calls).

To select a specific document, please use the ITabbedViewController.Select method instead.

See Also

SelectedDocument

SelectedItemIndex

Select(Document)

IsSelected

DocumentGroup Class

DocumentGroup Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace