FineUICore 11.4
企业级 ASP.NET Core 控件库
载入中...
搜索中...
未找到
FineUICore.Window类 参考

窗体控件 更多...

类 FineUICore.Window 继承关系图:
FineUICore.CollapsablePanel FineUICore.PanelBase FineUICore.IIconAndIconFont FineUICore.Container FineUICore.BoxComponent FineUICore.Component FineUICore.ControlBase

Public 成员函数

override string GetShowReference ()
 获取显示窗体的客户端脚本
 
string GetShowReference (string iframeUrl)
 获取显示窗体的客户端脚本
 
string GetShowReference (string iframeUrl, string windowTitle)
 获取显示窗体的客户端脚本
 
string GetShowReference (int? width, int? height)
 获取显示窗体的客户端脚本
 
string GetShowReference (string windowTitle, int? width, int? height)
 获取显示窗体的客户端脚本
 
string GetShowReference (string iframeUrl, string windowTitle, int? width, int? height)
 获取显示窗体的客户端脚本
 
string GetMaximizeReference ()
 获取最大化窗体尺寸的客户端脚本
 
string GetRestoreReference ()
 获取恢复窗体尺寸的客户端脚本
 
string GetMinimizeReference ()
 获取最小化窗体尺寸的客户端脚本
 
override string GetHideReference ()
 获取隐藏窗体的客户端脚本
 
string GetHideRefreshReference ()
 获取隐藏窗体,然后刷新页面的客户端脚本
 
string GetCloseReference ()
 获取关闭窗体的客户端脚本
 
string GetHideExecuteScriptReference (string argument)
 获取隐藏窗体,然后执行脚本的客户端脚本
 
string GetSaveStateReference (params string[] values)
 保存服务器控件的ClientID 可以调用ActiveWindow.GetWriteBackValueReference在子页面向这些服务器控件写入值
 
- Public 成员函数 继承自 FineUICore.PanelBase
void RefreshIFrame ()
 刷新面板中的IFrame页面
 
string GetRefreshIFrameReference ()
 获取刷新面板中IFrame页面的客户端脚本
 
void ClearDirty ()
 清空面板内表单字段的改变状态
 
string GetClearDirtyReference ()
 获取清空面板内表单字段改变状态的客户端脚本
 
virtual void Reset ()
 重置面板中所有字段
 
virtual string GetResetReference ()
 获取重置面板中所有字段的客户端脚本
 
- Public 成员函数 继承自 FineUICore.Component
void ApplyStyles (string styles)
 设置控件样式
 
void AddCssClass (string cssClass)
 添加控件样式类
 
void RemoveCssClass (string cssClass)
 删除控件样式类
 
- Public 成员函数 继承自 FineUICore.ControlBase
 ControlBase ()
 构造函数
 
bool PropertyModified (string propertyName)
 回发过程中此属性是否被改变
 
bool PropertyModified (params string[] propertyNames)
 回发过程中这些属性是否被改变
 
string GetPostBackEventReference ()
 获取回发页面的客户端脚本
 
string GetPostBackEventReference (string action)
 获取回发页面的客户端脚本
 
string GetPostBackEventReference (string action, ParameterCollection parameters)
 获取回发页面的客户端脚本
 
string GetPostBackEventReference (Event evt)
 获取回发页面的客户端脚本
 

属性

bool? EnableAnimation [get, set]
 是否启用动画(仅Webkit浏览器支持动画效果)
 
AnimationType AnimationType [get, set]
 显示隐藏的动画类型(仅移动端支持)
 
string PercentWidth [get, set]
 窗体的百分比宽度(相对于页面的宽度)
 
string PercentHeight [get, set]
 窗体的百分比高度(相对于页面的高度)
 
bool KeepLastPosition [get, set]
 关闭再打开时保持关闭时的位置
 
bool KeepLastSize [get, set]
 关闭再打开时保持关闭时的大小
 
bool ConstrainInitialSize [get, set]
 是否将初始大小限制在当前页面内
 
bool ConstrainSize [get, set]
 是否将窗体大小限制在当前页面内
 
WindowPosition WindowPosition [get, set]
 窗体的位置(优先级低于 PositionX 和 PositionY 属性)
 
Position PositionX [get, set]
 窗体在 X 轴的位置
 
Position PositionY [get, set]
 窗体在 Y 轴的位置
 
bool FixedPosition [get, set]
 是否使用(position:fixed)的CSS设置(默认是absolute)
 
bool DependsViewPortSize [get, set]
 弹出窗体大小依赖于可视窗口的大小
 
bool Maximized [get, set]
 是否最大化
 
int? Top [get, set]
 左上角位置
 
int? Left [get, set]
 左上角位置
 
bool EnableClose [get, set]
 是否可以关闭
 
bool EnableDrag [get, set]
 是否可以移动
 
bool EnableMaximize [get, set]
 是否可以最大化
 
bool EnableMinimize [get, set]
 是否可以最小化
 
bool ClearIFrameAfterClose [get, set]
 关闭窗体后是否清空IFrame
 
bool IsModal [get, set]
 是否模式窗体
 
bool HideOnMaskClick [get, set]
 点击遮罩层时是否隐藏窗体
 
bool EnableResize [get, set]
 是否可以改变窗体大小
 
CloseAction CloseAction [get, set]
 关闭窗体的动作(点击关闭按钮或者按 ESC 键都会执行此动作)
 
Target Target [get, set]
 弹出窗体的目标位置(只有在EnableIFrame=true的情况下有效)
 
- 属性 继承自 FineUICore.CollapsablePanel
virtual bool Expanded [get, set]
 是否展开
 
virtual bool Collapsed [get, set]
 是否折叠
 
virtual bool EnableCollapse [get, set]
 是否允许折叠
 
string Title [get, set]
 标题
 
TextAlign TitleAlign [get, set]
 标题文本的排列位置
 
string TitleToolTip [get, set]
 标题的提示文本
 
ToolTipType TitleToolTipType [get, set]
 标题的提示文本类型
 
ToolTipPosition TitleToolTipPosition [get, set]
 标题的提示文本位置
 
virtual bool ShowHeader [get, set]
 是否显示标题栏
 
string IconUrl [get, set]
 图标地址
 
virtual Icon Icon [get, set]
 预定义图标
 
IconFont IconFont [get, set]
 预定义图标字体
 
string IconFontClass [get, set]
 
- 属性 继承自 FineUICore.PanelBase
virtual bool AutoScroll [get, set]
 是否自动滚动
 
bool? EnableDefaultCorner [get, set]
 是否为圆角边框
 
bool EnableTableStyle [get, set]
 是否启用表格样式
 
int? MinHeight [get, set]
 最小高度
 
int? MinWidth [get, set]
 最小宽度
 
int? MaxHeight [get, set]
 最大高度
 
int? MaxWidth [get, set]
 最大宽度
 
bool EnableFrame [get, set]
 启用自定义的圆角边框
 
string BodyClass [get, set]
 内容区域的样式类名
 
string BodyStyle [get, set]
 内容区域的样式
 
virtual string BodyPadding [get, set]
 内容区域的内边距(设置上右下左的内边距,比如'0px 5px'或'5px 10px 2px 2px')
 
virtual bool ShowBorder [get, set]
 是否显示边框
 
bool IsViewPort [get, set]
 是否全屏视图(占据整个屏幕,仅适用于最外层控件)
 
bool IsFluid [get, set]
 是否流式面板(占据整个宽度,仅适用于最外层控件)
 
bool CustomToolAhead [get, set]
 自定义工具图标显示在系统工具图标的前面
 
virtual ToolbarCollection Toolbars [get]
 工具栏控件集合
 
virtual ControlBaseCollection Items [get]
 子控件集合
 
virtual ToolCollection Tools [get]
 工具图标集合
 
string Content [get, set]
 面板内容
 
string ContentEl [get, set]
 面板内容的jQuery选择器
 
virtual JObject IFrameAttributes [get, set]
 Iframe标签的属性
 
virtual string IFrameUrl [get, set]
 IFrame的地址
 
virtual string IFrameName [get, set]
 IFrame的名称
 
virtual bool EnableIFrame [get, set]
 是否启用IFrame
 
- 属性 继承自 FineUICore.Container
override bool FocusOnPageLoad [get]
 不支持此属性
 
bool LayoutAfterImagesLoad [get, set]
 容器中的全部图片加载完毕后,对容器重新进行布局
 
virtual LayoutType Layout [get, set]
 布局类型
 
- 属性 继承自 FineUICore.BoxComponent
int? Width [get, set]
 宽度
 
int? Height [get, set]
 高度
 
string AnchorValue [get, set]
 锚点值(当父容器的Layout=Anchor时有效)
 
string ColumnWidth [get, set]
 列的宽度(当父容器的Layout=Column时有效)
 
int? AbsoluteX [get, set]
 绝对定位的X坐标(当父容器的Layout=Absolute时有效)
 
int? AbsoluteY [get, set]
 绝对定位的Y坐标(当父容器的Layout=Absolute时有效)
 
int TableConfigColumns [get, set]
 表格列数(当父容器的Layout=Table时有效)
 
int TableRowspan [get, set]
 表格合并行(当父容器的Layout=Table时有效)
 
int TableColspan [get, set]
 表格合并列(当父容器的Layout=Table时有效)
 
BoxLayoutAlign BoxConfigAlign [get, set]
 控制子控件的位置(当本容器的Layout=VBox或者HBox时有效)
 
BoxLayoutPosition BoxConfigPosition [get, set]
 控制子控件的位置(当本容器的Layout=VBox或者HBox时有效)
 
string BoxConfigPadding [get, set]
 内边距(当本容器的Layout=VBox或者HBox时有效)
 
string BoxConfigChildMargin [get, set]
 子控件的外边距(当本容器的Layout=VBox或者HBox时有效)
 
string BoxConfigLastChildMargin [get, set]
 最后一个子控件的外边距(当本容器的Layout=VBox或者HBox时有效)
 
int BoxFlex [get, set]
 控制子控件的尺寸(当父容器的Layout=VBox或者HBox时有效)
 
bool RegionSplit [get, set]
 是否启用区域分隔条
 
bool RegionSplitDraggable [get, set]
 区域分隔条是否可拖动
 
bool RegionSplitIcon [get, set]
 是否显示区域分隔条图标
 
bool RegionSplitTransparent [get, set]
 区域分隔条是否透明
 
int? RegionSplitWidth [get, set]
 区域分隔条的宽度
 
string RegionPercent [get, set]
 区域的百分比尺寸(当父容器的Layout=Region时有效)
 
bool RegionSplitHeaderClass [get, set]
 是否为区域分隔条使用表头样式
 
Position RegionPosition [get, set]
 区域所在的位置
 
int? BlockConfigSpace [get, set]
 块间距(当本容器的Layout=Block时有效)
 
int BlockConfigBlockCount [get, set]
 自定义总块数(当本容器的Layout=Block时有效)
 
int Block [get, set]
 块大小,超小屏幕(当父容器的Layout=Block时有效)
 
int BlockSM [get, set]
 块大小,小屏幕(当父容器的Layout=Block时有效)
 
int BlockMD [get, set]
 块大小,中等屏幕(当父容器的Layout=Block时有效)
 
int BlockLG [get, set]
 块大小,大屏幕(当父容器的Layout=Block时有效)
 
- 属性 继承自 FineUICore.Component
virtual ? bool EncodeText [get, set]
 是否在客户端进行HTML编码
 
virtual bool FocusOnPageLoad [get, set]
 页面加载后立即获得焦点
 
virtual string CssClass [get, set]
 控件样式类名
 
virtual string CssStyle [get, set]
 控件样式
 
string Margin [get, set]
 外边距
 
int? MarginRight [get, set]
 右侧外边距
 
int? MarginLeft [get, set]
 左侧外边距
 
int? MarginTop [get, set]
 顶部外边距
 
int? MarginBottom [get, set]
 底部外边距
 
- 属性 继承自 FineUICore.ControlBase
string ProductName [get]
 产品名称
 
virtual string ProductVersion [get]
 产品版本
 
virtual JObject Attributes [get, set]
 HTML标签属性
 
string AttributeDataTag [get, set]
 HTML标签属性(data-tag)
 
string WrapperID [get]
 控件外部容器的客户端ID(比如:Button1_wrapper)
 
string ID [get, set]
 控件ID
 
virtual bool Enabled [get, set]
 是否可用
 
virtual bool Hidden [get, set]
 是否隐藏控件
 
virtual HideMode HideMode [get, set]
 隐藏模式
 
bool IsFineUIAjaxPostBack [get]
 是否处于FineUI的AJAX回发过程
 
bool IsFineUICoreAjaxPostBack [get]
 是否处于FineUI的AJAX回发过程
 
virtual ListenerCollection Listeners [get, set]
 客户端事件列表
 
virtual EventCollection Events [get, set]
 服务端事件列表
 

详细描述

窗体控件

成员函数说明

◆ GetCloseReference()

string FineUICore.Window.GetCloseReference ( )

获取关闭窗体的客户端脚本

返回
客户端脚本

◆ GetHideExecuteScriptReference()

string FineUICore.Window.GetHideExecuteScriptReference ( string  argument)

获取隐藏窗体,然后执行脚本的客户端脚本

参数
argument执行的脚本
返回
客户端脚本

◆ GetHideReference()

override string FineUICore.Window.GetHideReference ( )
virtual

获取隐藏窗体的客户端脚本

返回
客户端脚本

重载 FineUICore.ControlBase .

◆ GetHideRefreshReference()

string FineUICore.Window.GetHideRefreshReference ( )

获取隐藏窗体,然后刷新页面的客户端脚本

返回
客户端脚本

◆ GetMaximizeReference()

string FineUICore.Window.GetMaximizeReference ( )

获取最大化窗体尺寸的客户端脚本

返回
客户端脚本

◆ GetMinimizeReference()

string FineUICore.Window.GetMinimizeReference ( )

获取最小化窗体尺寸的客户端脚本

返回
客户端脚本

◆ GetRestoreReference()

string FineUICore.Window.GetRestoreReference ( )

获取恢复窗体尺寸的客户端脚本

返回
客户端脚本

◆ GetSaveStateReference()

string FineUICore.Window.GetSaveStateReference ( params string[]  values)

保存服务器控件的ClientID 可以调用ActiveWindow.GetWriteBackValueReference在子页面向这些服务器控件写入值

◆ GetShowReference() [1/6]

override string FineUICore.Window.GetShowReference ( )
virtual

获取显示窗体的客户端脚本

返回
客户端脚本

重载 FineUICore.ControlBase .

◆ GetShowReference() [2/6]

string FineUICore.Window.GetShowReference ( int?  width,
int?  height 
)

获取显示窗体的客户端脚本

参数
width窗体宽度
height窗体高度
返回
客户端脚本

◆ GetShowReference() [3/6]

string FineUICore.Window.GetShowReference ( string  iframeUrl)

获取显示窗体的客户端脚本

参数
iframeUrlIFrame地址
返回
客户端脚本

◆ GetShowReference() [4/6]

string FineUICore.Window.GetShowReference ( string  iframeUrl,
string  windowTitle 
)

获取显示窗体的客户端脚本

参数
iframeUrlIFrame地址
windowTitle窗体标题
返回
客户端脚本

◆ GetShowReference() [5/6]

string FineUICore.Window.GetShowReference ( string  iframeUrl,
string  windowTitle,
int?  width,
int?  height 
)

获取显示窗体的客户端脚本

参数
iframeUrlIFrame地址
windowTitle窗体标题
width窗体宽度
height窗体高度
返回
客户端脚本

◆ GetShowReference() [6/6]

string FineUICore.Window.GetShowReference ( string  windowTitle,
int?  width,
int?  height 
)

获取显示窗体的客户端脚本

参数
windowTitle窗体标题
width窗体宽度
height窗体高度
返回
客户端脚本

属性说明

◆ AnimationType

AnimationType FineUICore.Window.AnimationType
getset

显示隐藏的动画类型(仅移动端支持)

◆ ClearIFrameAfterClose

bool FineUICore.Window.ClearIFrameAfterClose
getset

关闭窗体后是否清空IFrame

◆ CloseAction

CloseAction FineUICore.Window.CloseAction
getset

关闭窗体的动作(点击关闭按钮或者按 ESC 键都会执行此动作)

◆ ConstrainInitialSize

bool FineUICore.Window.ConstrainInitialSize
getset

是否将初始大小限制在当前页面内

◆ ConstrainSize

bool FineUICore.Window.ConstrainSize
getset

是否将窗体大小限制在当前页面内

◆ DependsViewPortSize

bool FineUICore.Window.DependsViewPortSize
getset

弹出窗体大小依赖于可视窗口的大小

◆ EnableAnimation

bool? FineUICore.Window.EnableAnimation
getset

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

◆ EnableClose

bool FineUICore.Window.EnableClose
getset

是否可以关闭

◆ EnableDrag

bool FineUICore.Window.EnableDrag
getset

是否可以移动

◆ EnableMaximize

bool FineUICore.Window.EnableMaximize
getset

是否可以最大化

◆ EnableMinimize

bool FineUICore.Window.EnableMinimize
getset

是否可以最小化

◆ EnableResize

bool FineUICore.Window.EnableResize
getset

是否可以改变窗体大小

◆ FixedPosition

bool FineUICore.Window.FixedPosition
getset

是否使用(position:fixed)的CSS设置(默认是absolute)

◆ HideOnMaskClick

bool FineUICore.Window.HideOnMaskClick
getset

点击遮罩层时是否隐藏窗体

◆ IsModal

bool FineUICore.Window.IsModal
getset

是否模式窗体

◆ KeepLastPosition

bool FineUICore.Window.KeepLastPosition
getset

关闭再打开时保持关闭时的位置

◆ KeepLastSize

bool FineUICore.Window.KeepLastSize
getset

关闭再打开时保持关闭时的大小

◆ Left

int? FineUICore.Window.Left
getset

左上角位置

◆ Maximized

bool FineUICore.Window.Maximized
getset

是否最大化

◆ PercentHeight

string FineUICore.Window.PercentHeight
getset

窗体的百分比高度(相对于页面的高度)

◆ PercentWidth

string FineUICore.Window.PercentWidth
getset

窗体的百分比宽度(相对于页面的宽度)

◆ PositionX

Position FineUICore.Window.PositionX
getset

窗体在 X 轴的位置

◆ PositionY

Position FineUICore.Window.PositionY
getset

窗体在 Y 轴的位置

◆ Target

Target FineUICore.Window.Target
getset

弹出窗体的目标位置(只有在EnableIFrame=true的情况下有效)

◆ Top

int? FineUICore.Window.Top
getset

左上角位置

◆ WindowPosition

WindowPosition FineUICore.Window.WindowPosition
getset

窗体的位置(优先级低于 PositionX 和 PositionY 属性)


该类的文档由以下文件生成: