FineUI.Core 16.3.0
.NET 企业级全栈 UI 框架
载入中...
搜索中...
未找到
FineUI.Core.PageManager类 参考

页面配置管理器(每个页面必须包含一个 PageManager 控件) 更多...

类 FineUI.Core.PageManager 继承关系图:
FineUI.Core.ControlBase

Public 成员函数

string GetEmbedLoadingImageUrl (int loadingImageNumber)
 按旧版 GIF 编号取得内置图片地址。已废弃,请改用 LoadingCSSNumber(1~6)选择 CSS 加载动画。
string GetLoadingImageUrl ()
 读取旧版加载图片的有效地址,优先返回自定义地址,然后按编号查找内置 GIF。已废弃,请改用 LoadingCSSNumber(1~6)选择 CSS 加载动画。
string[] GetRequestIPMAC ()
 获取当前请求的服务器IP,以及相应的MAC地址
string GetRequestDomain ()
 获取当前请求的域名(用于域名授权验证) 返回浏览器 URL 中的主机名部分(不含端口、协议、路径),全部小写。
Public 成员函数 继承自 FineUI.Core.ControlBase
 ControlBase ()
 构造函数
bool RemoveAttribute (string name)
 移除控件 HTML 元素上的一个自定义属性,同时保留其它属性。 例如移除 data-tag 后,原有的 title 仍会保留;属性不存在时返回 false,且不会产生回发更新。
bool PropertyModified (string propertyName)
 回发过程中此属性是否被改变
bool PropertyModified (params string[] propertyNames)
 回发过程中这些属性是否被改变
string GetPostBackEventReference ()
 此接口已停止生成回发脚本;保留签名,让旧程序集调用时得到明确的迁移提示。 标准事件通过控件属性声明,RazorForms 页面级业务回发使用 F.customEvent。
string GetPostBackEventReference (string action)
 此接口已停止生成回发脚本;保留签名,让旧程序集调用时得到明确的迁移提示。 标准事件通过控件属性声明,RazorForms 页面级业务回发使用 F.customEvent。
string GetPostBackEventReference (string action, ParameterCollection parameters)
 此接口已停止生成回发脚本;保留签名,让旧程序集调用时得到明确的迁移提示。 标准事件通过控件属性声明,RazorForms 页面级业务回发使用 F.customEvent。
string GetPostBackEventReference (Event evt)
 此接口已停止生成回发脚本;保留签名,让旧程序集调用时得到明确的迁移提示。 标准事件通过控件属性声明,RazorForms 页面级业务回发使用 F.customEvent。
virtual string GetHideReference ()
 获取隐藏控件的客户端脚本
virtual string GetShowReference ()
 获取显示控件的客户端脚本

静态 Public 属性

static readonly JObject THEME_LOADING_COLORS = JObject.Parse("{\"default\":[\"fff\",\"444\"],\"metro_blue\":[\"fff\",\"444\"],\"metro_dark_blue\":[\"fff\",\"444\"],\"metro_gray\":[\"fff\",\"444\"],\"metro_green\":[\"fff\",\"444\"],\"metro_orange\":[\"fff\",\"444\"],\"flick\":[\"fff\",\"444\"],\"blitzer\":[\"fff\",\"444\"],\"smoothness\":[\"fff\",\"444\"],\"hot_sneaks\":[\"fff\",\"2c4359\"],\"black_tie\":[\"f9f9f9\",\"222\"],\"cupertino\":[\"f2f5f7\",\"362b36\"],\"dot_luv\":[\"111111\",\"d9d9d9\"],\"eggplant\":[\"3d3644\",\"fff\"],\"dark_hive\":[\"000\",\"fff\"],\"trontastic\":[\"000\",\"fff\"],\"ui_darkness\":[\"000\",\"fff\"],\"excite_bike\":[\"eee\",\"222\"],\"ui_lightness\":[\"eee\",\"222\"],\"humanity\":[\"f4f0ec\",\"1e1b1d\"],\"le_frog\":[\"285c00\",\"fff\"],\"mint_choc\":[\"201913\",\"fff\"],\"overcast\":[\"c9c9c9\",\"000\"],\"pepper_grinder\":[\"eceadf\",\"1f1f1f\"],\"redmond\":[\"fcfdfd\",\"222\"],\"start\":[\"fcfdfd\",\"222\"],\"south_street\":[\"f5f3e5\",\"312e25\"],\"sunny\":[\"f7f1e0\",\"383838\"],\"swanky_purse\":[\"443113\",\"efec9f\"],\"vader\":[\"121212\",\"eee\"],\"pure_black\":[\"fff\",\"444\"],\"pure_blue\":[\"fff\",\"444\"],\"pure_green\":[\"fff\",\"444\"],\"pure_orange\":[\"fff\",\"444\"],\"pure_purple\":[\"fff\",\"444\"],\"pure_red\":[\"fff\",\"444\"]}")
 正在加载动画图片的背景色和前景色

属性

override bool Enabled [get]
 不支持此属性
override bool Hidden [get]
 不支持此属性
override HideMode HideMode [get]
 不支持此属性
DisplayMode DisplayMode [get, set]
 显示模式
string LoadingImageUrl [get, set]
 旧版加载图片的地址,页面未指定时沿用全局配置。已废弃,请改用 LoadingCSSNumber(1~6)选择 CSS 加载动画。
int LoadingCSSNumber [get, set]
 页面加载动画(CSS)的数字编码(从1开始,设为0则禁用页面加载动画(CSS))
int LoadingImageNumber [get, set]
 旧版内置 GIF 的编号,页面未指定时沿用全局配置。已废弃,请改用 LoadingCSSNumber(1~6)选择 CSS 加载动画。
string AutoSizePanelID [get, set]
 自动调整此容器的宽度和高度,以填充整个页面
bool HideScrollbars [get, set]
 是否隐藏滚动条
bool EnablePageLoading [get, set]
 是否启用页面加载标示
bool EnableDefaultCorner [get, set]
 是否启用控件的圆角边框
bool EncodeText [get, set]
 是否在客户端进行HTML编码
int? GridMinColumnWidth [get, set]
 表格列的默认最小宽度
int? GridColumnWidth [get, set]
 表格列的默认宽度
bool GridHeaderSortIconVisible [get, set]
 始终显示表格标题栏排序图标
bool GridHeaderFilterIconVisible [get, set]
 始终显示表格标题栏过滤图标
bool GridPagingToolbarVisible [get, set]
 始终显示表格分页工具栏
PagingType GridPagingType [get, set]
 表格分页工具栏的显示类型
bool GridShowSelectionMessage [get, set]
 显示表格的选中行信息
bool GridShowPagingMessage [get, set]
 显示表格的分页信息
bool GridPagerAlignRight [get, set]
 表格分页控制按钮位于工具栏的右侧
bool GridStrictColumnIDValidation [get, set]
 全局严格校验表格列标识符。默认仅警告重复值,启用后抛出配置异常。
bool GridPagerAutoSimpleMode [get, set]
 窄屏自动简洁分页:分页栏宽度放不下时,自动把完整分页器降级为简洁形态(上一页 + 当前/总页 + 下一页)。默认关闭。
bool GridTextSelection [get, set]
 启用表格中的文字选择
bool GridShowEmptyIconText [get, set]
 表格数据为空且未设置EmptyText时,是否显示内置的「图标+文案」空状态(默认false,保持空白)
bool GridShowTooltipWhenTruncated [get, set]
 单元格tooltip仅在文本被列宽截断时显示(默认false)
bool GridStoreDateAsString [get, set]
bool NumberBoxNoWheel [get, set]
 全局禁止通过鼠标滚轮改变数字输入框的数值(默认允许)
bool MessageBoxDisplayProgress [get, set]
 是否显示通知对话框(Notify)的倒计时进度条(默认显示)
bool GridConvertLongToString [get, set]
 自动将表格数据源中的长整型转化为字符串(JavaScript无法处理精度大于16位的整数,会出现精度丢失的问题)
bool CustomScrollbar [get, set]
 是否自定义滚动条样式(仅在桌面端Chrome、Edge、Safari浏览器下有效)(默认为false)
Theme Theme [get, set]
 主题
JSLibrary JSLibrary [get, set]
 包含的JS库
string CustomThemeBasePath [get, set]
 自定义样式的根路径
string CustomTheme [get, set]
 自定义样式的名称
string CustomThemeEmbedLoadingImage [get, set]
 旧版自定义主题使用的 GIF 配色文件名,页面未指定时沿用全局配置。已废弃,请改用 LoadingCSSNumber(1~6)选择 CSS 加载动画,无需指定 GIF 配色。
Language Language [get, set]
 语言
string CustomLanguageBasePath [get, set]
 自定义语言的根路径
string CustomLanguage [get, set]
 自定义语言的名称
bool EnableShim [get, set]
 旧版浏览器用于遮挡 ActiveX 或 Flash 的兼容开关。已废弃,可以直接删除此设置。
bool EnableWebForms [get, set]
 当前请求是否使用 RazorForms,旧名称;读取返回服务器确定的有效模式。 页面模式不再通过此属性设置,原生页面应在模型类或共同基类上添加 NoRazorForms。
bool EnableRazorForms [get, set]
 当前请求是否使用 RazorForms;读取返回服务器确定的有效模式。 设置已废弃:全局 EnableRazorForms 控制默认模式,NoRazorForms 类标记关闭特定页面。 例如原来在 OnGet 设置 false,应改为在模型类上加 NoRazorForms,使 POST 也能提前确定模式。
bool EnableAnimation [get, set]
 是否启用动画(仅Webkit浏览器支持动画效果)
bool EnableIFrameLoading [get, set]
 启用IFrame面板的页面加载提示
bool AllowDangerousRawTag [get, set]
 是否解析字符串里写的 <raw> 标签(危险的旧写法,默认开以兼容存量;设 false 可全局关闭。也可在配置中通过 AllowDangerousRawTag 全局设置)
bool AllowDangerousScriptTag [get, set]
 是否解析字符串里写的 <script> 标签(把标签之间的内容当 JS 表达式拼进脚本)。 已弃用的旧写法:文案里拼进用户输入即构成 XSS,请把动态取值写成客户端 JS(用 Listeners 声明事件处理函数,函数体写在页面脚本里)。 默认开以兼容存量;设 false 可全局关闭。也可在配置中通过 AllowDangerousScriptTag 全局设置
bool AllowDangerousJavaScriptUrl [get, set]
 是否兼容链接中的 javascript: 地址;未设置时使用应用配置,产品默认值为 true。 例如旧页面通过 javascript:F.ui.Window1.show() 打开窗口;设为 false 后拒绝这类链接。 RazorForms 的页面覆盖应在每轮 Page_Init 设置,不从浏览器恢复,也不会放宽 CSP 或图片、iframe 地址校验。
bool EnableAjaxLoading [get, set]
 是否启用AJAX提示
AjaxLoadingType AjaxLoadingType [get, set]
 Ajax提示的类型
string AjaxLoadingText [get, set]
 AJAX提示的文本
string AjaxLoadingMaskText [get, set]
 Mask类型的AJAX提示文本
bool ShowAjaxLoadingMaskText [get, set]
 是否显示Mask类型的提示文本
int AjaxTimeout [get, set]
 AJAX请求超时时间(单位:秒,默认:120秒)
bool IEEdge [get, set]
 旧版 Internet Explorer 的 Edge 文档模式开关。已废弃,可以直接删除此设置。
bool ContentUTF8 [get, set]
 是否向页面输出utf-8标识
bool MobileAdaption [get, set]
 是否启用移动浏览器自适应
bool EnableCompactMode [get, set]
 旧版紧凑模式开关,页面未指定时沿用全局配置。已废弃,请改用 DisplayMode 的 Compact 值。
bool EnableLargeMode [get, set]
 旧版大字模式开关,页面未指定时沿用全局配置。已废弃,请改用 DisplayMode 的 Large 值。
bool EnableFormChangeConfirm [get, set]
 是否启用表单改变确认对话框
bool SimpleError [get, set]
 使用简单的提示框显示服务器返回的错误信息
bool EnableWatermark [get, set]
 是否启用页面水印
int? WatermarkRotate [get, set]
 水印绘制时的旋转角度(默认为-30度)
int? WatermarkZIndex [get, set]
 水印的堆叠索引(默认为10000)
int? WatermarkSpaceX [get, set]
 水印之间的水平间距(默认为200px)
int? WatermarkSpaceY [get, set]
 水印之间的垂直间距(默认为300px)
string WatermarkText [get, set]
 水印文本
int? WatermarkFontSize [get, set]
 水印文本的字体大小(默认为18px)
string WatermarkFontWeight [get, set]
 水印文本的字体粗细(可选值为 normal | light | weight)
string WatermarkFontStyle [get, set]
 水印文本的字体样式(可选值为 normal | italic)
string WatermarkFontFamily [get, set]
 水印文本的字体名称(默认为Consolas, Courier New, monospace)
int? WatermarkLetterSpacing [get, set]
 水印文本的字符间距(默认为2px)
decimal? WatermarkOpacity [get, set]
 水印文本的不透明度(默认为0.08)
bool CspScripts [get, set]
 开启内容安全策略(Content-Security-Policy/script-src),用来限制可以在页面上加载哪些类型的脚本资源 CSP主要用于预防潜在的跨站点脚本攻击(XSS),详情:https://content-security-policy.com/
bool CspScriptsAllowSelf [get, set]
 允许加载和当前页面同一域名的脚本资源
string[] CspScriptsAllowUrls [get, set]
 允许加载指定域名的脚本资源
bool CspScriptsAllowNonce [get, set]
 允许执行包含nonce属性的内联脚本标签 内联脚本标签的nonce属性必须和HTTP响应标头中指定的nonce属性相匹配
string CspScriptsNonceValue [get]
 获取用于内联标签nonce属性的值
bool CspScriptsAllowUnsafeInline [get, set]
 允许执行存在潜在风险的内联脚本标签(推荐使用CspScriptsAllowNonce属性,尽量避免使用此属性!) 例一:<script>alert('inline code')</script> 例二:<button onclick="javascript:handleClick();">Button</button> 例三:<iframe src="javascript:void(0);"></iframe>
bool CspScriptsAllowUnsafeEval [get, set]
 是否允许 eval/new Function 编译业务脚本。取页面设置、全局显式设置,再按实际开发模式取默认值。 三种模式默认均为 false;仅在 CspScripts 开启时影响浏览器策略。 严格页面应保留 false,依赖动态编译的第三方库须明确设为 true。
MessageTarget FormMessageTarget [get, set]
 表单中消息的位置
LabelAlign FormLabelAlign [get, set]
 表单中标签的位置
RedStarPosition FormRedStarPosition [get, set]
 表单中红色星号的位置
int? FormOffsetRight [get, set]
 表单中右侧的空白宽度
int? FormLabelWidth [get, set]
 表单中字段标签的宽度
int? ToolbarItemSpace [get, set]
 工具栏子项之间的间距
int? TabStripTabSpace [get, set]
 选项卡标题之间的间距
int? FormRowItemSpace [get, set]
 表单行子项之间的间距
string FormLabelSeparator [get, set]
 表单中字段与标签的分隔符
string FormDotSeparator [get, set]
 小数分隔符(默认为点号)(仅限于数字输入框的客户端显示)
string FormCommaSeparator [get, set]
 千分位分隔符(默认为逗号)(仅限于数字输入框的客户端显示)
SwapAnimationType TabStripAnimationType [get, set]
 切换选项卡的动画类型(仅Webkit浏览器支持动画效果)
static PageManager Instance [get]
 PageManager在当前页面的实例
属性 继承自 FineUI.Core.ControlBase
ControlBase Parent [get]
 父控件
string ProductName [get]
 当前服务器产品名称,返回 FineUI.Core;只读,不从浏览器控件状态恢复。
virtual string ProductVersion [get]
 当前服务器程序集的产品版本,例如 16.0.0;不含构建元数据和企业客户编码。 只读,不使用浏览器回传的版本决定服务器行为。
virtual JObject Attributes [get, set]
 [AJAX属性]HTML标签属性
string AttributeDataTag [get, set]
 [AJAX属性]HTML标签属性(data-tag)
string WrapperID [get]
 按当前控件 ID 推导的外部容器编号,例如 Button1 对应 Button1_wrapper。 不另存编号;是否实际输出该容器由控件的渲染位置决定。
string ID [get, set]
 控件ID
virtual bool Enabled [get, set]
 [AJAX属性]是否可用
virtual bool Hidden [get, set]
 [AJAX属性]是否隐藏控件
virtual HideMode HideMode [get, set]
 隐藏模式
bool IsFineUIAjaxPostBack [get]
 当前请求是否携带 X-FineUI-Ajax: true,普通 JSON 与文件上传请求使用同一判断。 普通页面请求返回 false;此标志不代替回发内容校验或业务权限检查。
bool IsFineUICoreAjaxPostBack [get]
 IsFineUIAjaxPostBack 的兼容名称,始终读取同一次请求的相同标志。 例如上传回发带 X-FineUI-Ajax: true 时,两项都返回 true,不另存控件状态。
virtual ListenerCollection Listeners [get, set]
 客户端事件列表
virtual EventCollection Events [get, set]
 服务端事件列表

详细描述

页面配置管理器(每个页面必须包含一个 PageManager 控件)

成员函数说明

◆ GetEmbedLoadingImageUrl()

string FineUI.Core.PageManager.GetEmbedLoadingImageUrl ( int loadingImageNumber)

按旧版 GIF 编号取得内置图片地址。已废弃,请改用 LoadingCSSNumber(1~6)选择 CSS 加载动画。

参数
loadingImageNumber
返回

◆ GetLoadingImageUrl()

string FineUI.Core.PageManager.GetLoadingImageUrl ( )

读取旧版加载图片的有效地址,优先返回自定义地址,然后按编号查找内置 GIF。已废弃,请改用 LoadingCSSNumber(1~6)选择 CSS 加载动画。

返回

◆ GetRequestDomain()

string FineUI.Core.PageManager.GetRequestDomain ( )

获取当前请求的域名(用于域名授权验证) 返回浏览器 URL 中的主机名部分(不含端口、协议、路径),全部小写。

示例: http://www.example.com/page → "www.example.com" http://www.example.com:8080/page → "www.example.com"(端口自动去掉) http://example.com/page → "example.com" http://app.example.com.cn/page → "app.example.com.cn" http://APP.Example.COM/page → "app.example.com"(转小写) http://192.168.1.100/page → ""(IP 地址,过滤) http://localhost/page → ""(本机,过滤) http://localhost:5000/page → ""(本机,过滤)

◆ GetRequestIPMAC()

string[] FineUI.Core.PageManager.GetRequestIPMAC ( )

获取当前请求的服务器IP,以及相应的MAC地址

返回
[当前请求的服务器IP,MAC地址]

类成员变量说明

◆ THEME_LOADING_COLORS

readonly JObject FineUI.Core.PageManager.THEME_LOADING_COLORS = JObject.Parse("{\"default\":[\"fff\",\"444\"],\"metro_blue\":[\"fff\",\"444\"],\"metro_dark_blue\":[\"fff\",\"444\"],\"metro_gray\":[\"fff\",\"444\"],\"metro_green\":[\"fff\",\"444\"],\"metro_orange\":[\"fff\",\"444\"],\"flick\":[\"fff\",\"444\"],\"blitzer\":[\"fff\",\"444\"],\"smoothness\":[\"fff\",\"444\"],\"hot_sneaks\":[\"fff\",\"2c4359\"],\"black_tie\":[\"f9f9f9\",\"222\"],\"cupertino\":[\"f2f5f7\",\"362b36\"],\"dot_luv\":[\"111111\",\"d9d9d9\"],\"eggplant\":[\"3d3644\",\"fff\"],\"dark_hive\":[\"000\",\"fff\"],\"trontastic\":[\"000\",\"fff\"],\"ui_darkness\":[\"000\",\"fff\"],\"excite_bike\":[\"eee\",\"222\"],\"ui_lightness\":[\"eee\",\"222\"],\"humanity\":[\"f4f0ec\",\"1e1b1d\"],\"le_frog\":[\"285c00\",\"fff\"],\"mint_choc\":[\"201913\",\"fff\"],\"overcast\":[\"c9c9c9\",\"000\"],\"pepper_grinder\":[\"eceadf\",\"1f1f1f\"],\"redmond\":[\"fcfdfd\",\"222\"],\"start\":[\"fcfdfd\",\"222\"],\"south_street\":[\"f5f3e5\",\"312e25\"],\"sunny\":[\"f7f1e0\",\"383838\"],\"swanky_purse\":[\"443113\",\"efec9f\"],\"vader\":[\"121212\",\"eee\"],\"pure_black\":[\"fff\",\"444\"],\"pure_blue\":[\"fff\",\"444\"],\"pure_green\":[\"fff\",\"444\"],\"pure_orange\":[\"fff\",\"444\"],\"pure_purple\":[\"fff\",\"444\"],\"pure_red\":[\"fff\",\"444\"]}")
static

正在加载动画图片的背景色和前景色

属性说明

◆ AjaxLoadingMaskText

string FineUI.Core.PageManager.AjaxLoadingMaskText
getset

Mask类型的AJAX提示文本

◆ AjaxLoadingText

string FineUI.Core.PageManager.AjaxLoadingText
getset

AJAX提示的文本

◆ AjaxLoadingType

AjaxLoadingType FineUI.Core.PageManager.AjaxLoadingType
getset

Ajax提示的类型

◆ AjaxTimeout

int FineUI.Core.PageManager.AjaxTimeout
getset

AJAX请求超时时间(单位:秒,默认:120秒)

◆ AllowDangerousJavaScriptUrl

bool FineUI.Core.PageManager.AllowDangerousJavaScriptUrl
getset

是否兼容链接中的 javascript: 地址;未设置时使用应用配置,产品默认值为 true。 例如旧页面通过 javascript:F.ui.Window1.show() 打开窗口;设为 false 后拒绝这类链接。 RazorForms 的页面覆盖应在每轮 Page_Init 设置,不从浏览器恢复,也不会放宽 CSP 或图片、iframe 地址校验。

◆ AllowDangerousRawTag

bool FineUI.Core.PageManager.AllowDangerousRawTag
getset

是否解析字符串里写的 <raw> 标签(危险的旧写法,默认开以兼容存量;设 false 可全局关闭。也可在配置中通过 AllowDangerousRawTag 全局设置)

◆ AllowDangerousScriptTag

bool FineUI.Core.PageManager.AllowDangerousScriptTag
getset

是否解析字符串里写的 <script> 标签(把标签之间的内容当 JS 表达式拼进脚本)。 已弃用的旧写法:文案里拼进用户输入即构成 XSS,请把动态取值写成客户端 JS(用 Listeners 声明事件处理函数,函数体写在页面脚本里)。 默认开以兼容存量;设 false 可全局关闭。也可在配置中通过 AllowDangerousScriptTag 全局设置

◆ AutoSizePanelID

string FineUI.Core.PageManager.AutoSizePanelID
getset

自动调整此容器的宽度和高度,以填充整个页面

◆ ContentUTF8

bool FineUI.Core.PageManager.ContentUTF8
getset

是否向页面输出utf-8标识

◆ CspScripts

bool FineUI.Core.PageManager.CspScripts
getset

开启内容安全策略(Content-Security-Policy/script-src),用来限制可以在页面上加载哪些类型的脚本资源 CSP主要用于预防潜在的跨站点脚本攻击(XSS),详情:https://content-security-policy.com/

◆ CspScriptsAllowNonce

bool FineUI.Core.PageManager.CspScriptsAllowNonce
getset

允许执行包含nonce属性的内联脚本标签 内联脚本标签的nonce属性必须和HTTP响应标头中指定的nonce属性相匹配

◆ CspScriptsAllowSelf

bool FineUI.Core.PageManager.CspScriptsAllowSelf
getset

允许加载和当前页面同一域名的脚本资源

◆ CspScriptsAllowUnsafeEval

bool FineUI.Core.PageManager.CspScriptsAllowUnsafeEval
getset

是否允许 eval/new Function 编译业务脚本。取页面设置、全局显式设置,再按实际开发模式取默认值。 三种模式默认均为 false;仅在 CspScripts 开启时影响浏览器策略。 严格页面应保留 false,依赖动态编译的第三方库须明确设为 true。

◆ CspScriptsAllowUnsafeInline

bool FineUI.Core.PageManager.CspScriptsAllowUnsafeInline
getset

允许执行存在潜在风险的内联脚本标签(推荐使用CspScriptsAllowNonce属性,尽量避免使用此属性!) 例一:<script>alert('inline code')</script> 例二:<button onclick="javascript:handleClick();">Button</button> 例三:<iframe src="javascript:void(0);"></iframe>

◆ CspScriptsAllowUrls

string [] FineUI.Core.PageManager.CspScriptsAllowUrls
getset

允许加载指定域名的脚本资源

◆ CspScriptsNonceValue

string FineUI.Core.PageManager.CspScriptsNonceValue
get

获取用于内联标签nonce属性的值

◆ CustomLanguage

string FineUI.Core.PageManager.CustomLanguage
getset

自定义语言的名称

◆ CustomLanguageBasePath

string FineUI.Core.PageManager.CustomLanguageBasePath
getset

自定义语言的根路径

◆ CustomScrollbar

bool FineUI.Core.PageManager.CustomScrollbar
getset

是否自定义滚动条样式(仅在桌面端Chrome、Edge、Safari浏览器下有效)(默认为false)

◆ CustomTheme

string FineUI.Core.PageManager.CustomTheme
getset

自定义样式的名称

◆ CustomThemeBasePath

string FineUI.Core.PageManager.CustomThemeBasePath
getset

自定义样式的根路径

◆ CustomThemeEmbedLoadingImage

string FineUI.Core.PageManager.CustomThemeEmbedLoadingImage
getset

旧版自定义主题使用的 GIF 配色文件名,页面未指定时沿用全局配置。已废弃,请改用 LoadingCSSNumber(1~6)选择 CSS 加载动画,无需指定 GIF 配色。

◆ DisplayMode

DisplayMode FineUI.Core.PageManager.DisplayMode
getset

显示模式

◆ EnableAjaxLoading

bool FineUI.Core.PageManager.EnableAjaxLoading
getset

是否启用AJAX提示

◆ EnableAnimation

bool FineUI.Core.PageManager.EnableAnimation
getset

是否启用动画(仅Webkit浏览器支持动画效果)

◆ EnableCompactMode

bool FineUI.Core.PageManager.EnableCompactMode
getset

旧版紧凑模式开关,页面未指定时沿用全局配置。已废弃,请改用 DisplayMode 的 Compact 值。

◆ Enabled

override bool FineUI.Core.PageManager.Enabled
get

不支持此属性

◆ EnableDefaultCorner

bool FineUI.Core.PageManager.EnableDefaultCorner
getset

是否启用控件的圆角边框

◆ EnableFormChangeConfirm

bool FineUI.Core.PageManager.EnableFormChangeConfirm
getset

是否启用表单改变确认对话框

◆ EnableIFrameLoading

bool FineUI.Core.PageManager.EnableIFrameLoading
getset

启用IFrame面板的页面加载提示

◆ EnableLargeMode

bool FineUI.Core.PageManager.EnableLargeMode
getset

旧版大字模式开关,页面未指定时沿用全局配置。已废弃,请改用 DisplayMode 的 Large 值。

◆ EnablePageLoading

bool FineUI.Core.PageManager.EnablePageLoading
getset

是否启用页面加载标示

◆ EnableRazorForms

bool FineUI.Core.PageManager.EnableRazorForms
getset

当前请求是否使用 RazorForms;读取返回服务器确定的有效模式。 设置已废弃:全局 EnableRazorForms 控制默认模式,NoRazorForms 类标记关闭特定页面。 例如原来在 OnGet 设置 false,应改为在模型类上加 NoRazorForms,使 POST 也能提前确定模式。

◆ EnableShim

bool FineUI.Core.PageManager.EnableShim
getset

旧版浏览器用于遮挡 ActiveX 或 Flash 的兼容开关。已废弃,可以直接删除此设置。

◆ EnableWatermark

bool FineUI.Core.PageManager.EnableWatermark
getset

是否启用页面水印

◆ EnableWebForms

bool FineUI.Core.PageManager.EnableWebForms
getset

当前请求是否使用 RazorForms,旧名称;读取返回服务器确定的有效模式。 页面模式不再通过此属性设置,原生页面应在模型类或共同基类上添加 NoRazorForms。

◆ EncodeText

bool FineUI.Core.PageManager.EncodeText
getset

是否在客户端进行HTML编码

◆ FormCommaSeparator

string FineUI.Core.PageManager.FormCommaSeparator
getset

千分位分隔符(默认为逗号)(仅限于数字输入框的客户端显示)

◆ FormDotSeparator

string FineUI.Core.PageManager.FormDotSeparator
getset

小数分隔符(默认为点号)(仅限于数字输入框的客户端显示)

◆ FormLabelAlign

LabelAlign FineUI.Core.PageManager.FormLabelAlign
getset

表单中标签的位置

◆ FormLabelSeparator

string FineUI.Core.PageManager.FormLabelSeparator
getset

表单中字段与标签的分隔符

◆ FormLabelWidth

int? FineUI.Core.PageManager.FormLabelWidth
getset

表单中字段标签的宽度

◆ FormMessageTarget

MessageTarget FineUI.Core.PageManager.FormMessageTarget
getset

表单中消息的位置

◆ FormOffsetRight

int? FineUI.Core.PageManager.FormOffsetRight
getset

表单中右侧的空白宽度

◆ FormRedStarPosition

RedStarPosition FineUI.Core.PageManager.FormRedStarPosition
getset

表单中红色星号的位置

◆ FormRowItemSpace

int? FineUI.Core.PageManager.FormRowItemSpace
getset

表单行子项之间的间距

◆ GridColumnWidth

int? FineUI.Core.PageManager.GridColumnWidth
getset

表格列的默认宽度

◆ GridConvertLongToString

bool FineUI.Core.PageManager.GridConvertLongToString
getset

自动将表格数据源中的长整型转化为字符串(JavaScript无法处理精度大于16位的整数,会出现精度丢失的问题)

◆ GridHeaderFilterIconVisible

bool FineUI.Core.PageManager.GridHeaderFilterIconVisible
getset

始终显示表格标题栏过滤图标

◆ GridHeaderSortIconVisible

bool FineUI.Core.PageManager.GridHeaderSortIconVisible
getset

始终显示表格标题栏排序图标

◆ GridMinColumnWidth

int? FineUI.Core.PageManager.GridMinColumnWidth
getset

表格列的默认最小宽度

◆ GridPagerAlignRight

bool FineUI.Core.PageManager.GridPagerAlignRight
getset

表格分页控制按钮位于工具栏的右侧

◆ GridPagerAutoSimpleMode

bool FineUI.Core.PageManager.GridPagerAutoSimpleMode
getset

窄屏自动简洁分页:分页栏宽度放不下时,自动把完整分页器降级为简洁形态(上一页 + 当前/总页 + 下一页)。默认关闭。

◆ GridPagingToolbarVisible

bool FineUI.Core.PageManager.GridPagingToolbarVisible
getset

始终显示表格分页工具栏

◆ GridPagingType

PagingType FineUI.Core.PageManager.GridPagingType
getset

表格分页工具栏的显示类型

◆ GridShowEmptyIconText

bool FineUI.Core.PageManager.GridShowEmptyIconText
getset

表格数据为空且未设置EmptyText时,是否显示内置的「图标+文案」空状态(默认false,保持空白)

◆ GridShowPagingMessage

bool FineUI.Core.PageManager.GridShowPagingMessage
getset

显示表格的分页信息

◆ GridShowSelectionMessage

bool FineUI.Core.PageManager.GridShowSelectionMessage
getset

显示表格的选中行信息

◆ GridShowTooltipWhenTruncated

bool FineUI.Core.PageManager.GridShowTooltipWhenTruncated
getset

单元格tooltip仅在文本被列宽截断时显示(默认false)

◆ GridStoreDateAsString

bool FineUI.Core.PageManager.GridStoreDateAsString
getset

在表格的客户端数据中,将日期对象存储为格式化后的字符串(仅用于FieldType=Date的列)

◆ GridStrictColumnIDValidation

bool FineUI.Core.PageManager.GridStrictColumnIDValidation
getset

全局严格校验表格列标识符。默认仅警告重复值,启用后抛出配置异常。

◆ GridTextSelection

bool FineUI.Core.PageManager.GridTextSelection
getset

启用表格中的文字选择

◆ Hidden

override bool FineUI.Core.PageManager.Hidden
get

不支持此属性

◆ HideMode

override HideMode FineUI.Core.PageManager.HideMode
get

不支持此属性

◆ HideScrollbars

bool FineUI.Core.PageManager.HideScrollbars
getset

是否隐藏滚动条

◆ IEEdge

bool FineUI.Core.PageManager.IEEdge
getset

旧版 Internet Explorer 的 Edge 文档模式开关。已废弃,可以直接删除此设置。

◆ Instance

PageManager FineUI.Core.PageManager.Instance
staticget

PageManager在当前页面的实例

◆ JSLibrary

JSLibrary FineUI.Core.PageManager.JSLibrary
getset

包含的JS库

◆ Language

Language FineUI.Core.PageManager.Language
getset

语言

◆ LoadingCSSNumber

int FineUI.Core.PageManager.LoadingCSSNumber
getset

页面加载动画(CSS)的数字编码(从1开始,设为0则禁用页面加载动画(CSS))

◆ LoadingImageNumber

int FineUI.Core.PageManager.LoadingImageNumber
getset

旧版内置 GIF 的编号,页面未指定时沿用全局配置。已废弃,请改用 LoadingCSSNumber(1~6)选择 CSS 加载动画。

◆ LoadingImageUrl

string FineUI.Core.PageManager.LoadingImageUrl
getset

旧版加载图片的地址,页面未指定时沿用全局配置。已废弃,请改用 LoadingCSSNumber(1~6)选择 CSS 加载动画。

◆ MessageBoxDisplayProgress

bool FineUI.Core.PageManager.MessageBoxDisplayProgress
getset

是否显示通知对话框(Notify)的倒计时进度条(默认显示)

◆ MobileAdaption

bool FineUI.Core.PageManager.MobileAdaption
getset

是否启用移动浏览器自适应

◆ NumberBoxNoWheel

bool FineUI.Core.PageManager.NumberBoxNoWheel
getset

全局禁止通过鼠标滚轮改变数字输入框的数值(默认允许)

◆ ShowAjaxLoadingMaskText

bool FineUI.Core.PageManager.ShowAjaxLoadingMaskText
getset

是否显示Mask类型的提示文本

◆ SimpleError

bool FineUI.Core.PageManager.SimpleError
getset

使用简单的提示框显示服务器返回的错误信息

◆ TabStripAnimationType

SwapAnimationType FineUI.Core.PageManager.TabStripAnimationType
getset

切换选项卡的动画类型(仅Webkit浏览器支持动画效果)

◆ TabStripTabSpace

int? FineUI.Core.PageManager.TabStripTabSpace
getset

选项卡标题之间的间距

◆ Theme

Theme FineUI.Core.PageManager.Theme
getset

主题

◆ ToolbarItemSpace

int? FineUI.Core.PageManager.ToolbarItemSpace
getset

工具栏子项之间的间距

◆ WatermarkFontFamily

string FineUI.Core.PageManager.WatermarkFontFamily
getset

水印文本的字体名称(默认为Consolas, Courier New, monospace)

◆ WatermarkFontSize

int? FineUI.Core.PageManager.WatermarkFontSize
getset

水印文本的字体大小(默认为18px)

◆ WatermarkFontStyle

string FineUI.Core.PageManager.WatermarkFontStyle
getset

水印文本的字体样式(可选值为 normal | italic)

◆ WatermarkFontWeight

string FineUI.Core.PageManager.WatermarkFontWeight
getset

水印文本的字体粗细(可选值为 normal | light | weight)

◆ WatermarkLetterSpacing

int? FineUI.Core.PageManager.WatermarkLetterSpacing
getset

水印文本的字符间距(默认为2px)

◆ WatermarkOpacity

decimal? FineUI.Core.PageManager.WatermarkOpacity
getset

水印文本的不透明度(默认为0.08)

◆ WatermarkRotate

int? FineUI.Core.PageManager.WatermarkRotate
getset

水印绘制时的旋转角度(默认为-30度)

◆ WatermarkSpaceX

int? FineUI.Core.PageManager.WatermarkSpaceX
getset

水印之间的水平间距(默认为200px)

◆ WatermarkSpaceY

int? FineUI.Core.PageManager.WatermarkSpaceY
getset

水印之间的垂直间距(默认为300px)

◆ WatermarkText

string FineUI.Core.PageManager.WatermarkText
getset

水印文本

◆ WatermarkZIndex

int? FineUI.Core.PageManager.WatermarkZIndex
getset

水印的堆叠索引(默认为10000)


该类的文档由以下文件生成:
  • PageManager.cs
  • PageManager.TemplateDeclarations.cs