点击或拖拽改变大小

CssBoxCreateBlock 方法 (CssBox, HtmlTag, CssBox)

Create new css block box for the given parent with the given optional html tag and insert it either at the end or before the given optional box.
If no html tag is given the box will be anonymous.
If no before box is given the new box will be added at the end of parent boxes collection.
If before box doesn't exists in parent box exception is thrown.

命名空间:  DSkin.Html.Core.Dom
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public static CssBox CreateBlock(
	CssBox parent,
	HtmlTag tag = null,
	CssBox before = null
)

参数

parent
类型:DSkin.Html.Core.DomCssBox
the box to add the new block box to it as child
tag (Optional)
类型:DSkin.Html.Core.DomHtmlTag
optional: the html tag to define the box
before (Optional)
类型:DSkin.Html.Core.DomCssBox
optional: to insert as specific location in parent box

返回值

类型:CssBox
the new block box
备注
To learn more about anonymous block boxes visit CSS spec: http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level
参见