XtraForm.AllowMdiBar Property
Gets or sets whether an MDI bar is allowed for this form. This property is in effect for a parent MDI form, when the title bar skinning feature is enabled.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Utils.v24.2.dll
Declaration
[DefaultValue(false)]
[DXCategory("Behavior")]
public virtual bool AllowMdiBar { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true if the MDI bar is allowed; otherwise, false. |
Remarks
An MDI bar provides the control buttons and menu allowing an end-user to close, restore, minimize and switch between child MDI forms.
The AllowMdiBar property controls the visibility of an MDI bar when the following conditions are met:
- the current XtraForm is a parent form in an MDI application;
- the title bar skinning feature is enabled via the SkinManager.EnableFormSkins or SkinManager.EnableFormSkinsIfNotVista method.
- one of the MDI child forms is maximized.
If you’re using a BarManager or RibbonForm within the parent MDI XtraForm, there is no need to enable the AllowMdiBar option, as these components provide their own MDI bars.
See Also