[DevExpress Support Team: CLONED FROM T293840: Using a DockManager, moving toolboxes around or restoring layouts results in missing/invisible controls and unresponsive UI]
DocumentManager - Customizing of document settings by using the DocumentSettings class does not work when you call the AddFloatDocument method
Answers approved by DevExpress Support
We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.
Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.
After applying this fix, you can customize the float form position and size it as follows:
C#Form floatForm = new Form();
floatForm.Text = "Float Tab",
DocumentSettings.Attach(floatForm, new DocumentSettings()
{
FloatLocation = new System.Drawing.Point(100, 100),
FloatSize = new System.Drawing.Size(600, 400)
});
tabbedView1.AddDocument(floatForm);
And additionally, with this fix, you can customize the float form position and size as follows:
C#Form floatForm = new Form();
floatForm.Text = "FloatTab";
floatForm.StartPosition = FormStartPosition.Manual;
floatForm.Location = new System.Drawing.Point(100, 100);
floatForm.Size = new System.Drawing.Size(600, 400);
tabbedView1.AddFloatDocument(floatForm);
- v15.2.4Download Official Update
- v15.1.8Download Official Update