XAF 设置弹出窗口的默认大小和样式
作者:互联网
将以下代码添加到Global.asax.cs(Global.asax.vb)文件中的Application_Start方法中。
using DevExpress.ExpressApp.Web.Controls; using System.Web.UI.WebControls; //... protected void Application_Start(object sender, EventArgs e) { XafPopupWindowControl.DefaultHeight = Unit.Percentage(50); XafPopupWindowControl.DefaultWidth = Unit.Percentage(60); XafPopupWindowControl.PopupTemplateType = PopupTemplateType.FindDialog; XafPopupWindowControl.ShowPopupMode = ShowPopupMode.Centered; //... }
标签:Web,样式,XafPopupWindowControl,默认,Application,using,Percentage,XAF,ShowPopupMode 来源: https://www.cnblogs.com/xyyhcn/p/13451712.html