XAF How to set size of a popup detail view

How to set size of a popup detail view

http://community.devexpress.com/forums/p/105313/356765.aspx#356765

private void Application_CustomizeTemplate(object sender, CustomizeTemplateEventArgs e)
        {
            this.Application.CustomizeTemplate -= this.Application_CustomizeTemplate;
            (e.Template as Form).Size = new Size(440260);
        } 
原文地址:https://www.cnblogs.com/Tonyyang/p/2215199.html