Back to Devexpress

Bar.StandaloneBarDockControlName Property

windowsforms-devexpress-dot-xtrabars-dot-bar-dbbbdf8f.md

latest2.0 KB
Original Source

Bar.StandaloneBarDockControlName Property

Gets or sets the name of the StandaloneBarDockControl control to which the bar belongs, if any.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DefaultValue(null)]
[XtraSerializableProperty]
public string StandaloneBarDockControlName { get; set; }
vb
<Browsable(False)>
<DefaultValue(Nothing)>
<XtraSerializableProperty>
Public Property StandaloneBarDockControlName As String

Property Value

TypeDefaultDescription
Stringnull

A string that specifies the name of the StandaloneBarDockControl control to which the bar belongs. An empty string if the bar doesn’t belong to a StandaloneBarDockControl.

|

Remarks

Assigning a string to the StandaloneBarDockControlName property does the following. First, the BarManager.DockControls collection is iterated to find a StandaloneBarDockControl control with the specified name. If the control is found, the bar is added to this control.

See Also

StandaloneBarDockControl

Bar Class

Bar Members

DevExpress.XtraBars Namespace