Back to Devexpress

RibbonMiniToolbar.ParentControl Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonminitoolbar-ef33062d.md

latest1.4 KB
Original Source

RibbonMiniToolbar.ParentControl Property

Gets or sets the parent control which owns the toolbar.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Behavior")]
public Control ParentControl { get; set; }
vb
<DefaultValue(Nothing)>
<DXCategory("Behavior")>
Public Property ParentControl As Control

Property Value

TypeDefaultDescription
Controlnull

A control that owns the toolbar.

|

Remarks

Use the ParentControl property to determine the control which owns the toolbar. When the parent control moves, the toolbar will move with it. But, if you destroy the parent control, the toolbar will not be destroyed.

See Also

RibbonMiniToolbar Class

RibbonMiniToolbar Members

DevExpress.XtraBars.Ribbon Namespace