CssBoxProperties 类 |
命名空间: DSkin.Html.Core.Dom
public abstract class CssBoxProperties
CssBoxProperties 类型公开以下成员。
名称 | 说明 | |
---|---|---|
CssBoxProperties | 初始化 CssBoxProperties 类的一个新实例 |
名称 | 说明 | |
---|---|---|
ActualBackgroundColor |
Gets the actual background color of the box
| |
ActualBackgroundGradient |
Gets the second color that creates a gradient for the background
| |
ActualBackgroundGradientAngle |
Gets the actual angle specified for the background gradient
| |
ActualBorderBottomColor |
Gets the actual Bottom border Color
| |
ActualBorderBottomWidth |
Gets the actual Bottom border width
| |
ActualBorderLeftColor |
Gets the actual Left border Color
| |
ActualBorderLeftWidth |
Gets the actual Left border width
| |
ActualBorderRightColor |
Gets the actual Right border Color
| |
ActualBorderRightWidth |
Gets the actual Right border width
| |
ActualBorderSpacingHorizontal |
Gets the actual horizontal border spacing for tables
| |
ActualBorderSpacingVertical |
Gets the actual vertical border spacing for tables
| |
ActualBorderTopColor |
Gets the actual top border Color
| |
ActualBorderTopWidth |
Gets the actual top border width
| |
ActualBottom |
Gets or sets the bottom of the box.
(When setting, alters only the Size.Height of the box)
| |
ActualColor |
获取实际的文本的颜色。
| |
ActualCornerNe |
Gets the actual length of the north east corner
| |
ActualCornerNw |
Gets the actual length of the north west corner
| |
ActualCornerSe |
Gets the actual length of the south east corner
| |
ActualCornerSw |
Gets the actual length of the south west corner
| |
ActualFont |
Gets the font that should be actually used to paint the text of the box
| |
ActualHeight |
Gets the actual height
| |
ActualLineHeight |
Gets the line height
| |
ActualMarginBottom |
Gets the actual Margin of the bottom
| |
ActualMarginLeft |
Gets the actual Margin on the left
| |
ActualMarginRight |
Gets the actual Margin on the right
| |
ActualMarginTop |
Gets the actual top's Margin
| |
ActualPaddingBottom |
Gets the actual Padding of the bottom
| |
ActualPaddingLeft |
Gets the actual padding on the left
| |
ActualPaddingRight |
Gets the actual padding on the right
| |
ActualPaddingTop |
Gets the actual top's padding
| |
ActualParentFont |
Gets the actual font of the parent
| |
ActualRight |
Gets the right of the box. When setting, it will affect only the width of the box.
| |
ActualTextIndent |
Gets the text indentation (on first line only)
| |
ActualWidth |
Gets the actual height
| |
ActualWordSpacing |
Gets the actual width of whitespace between words.
| |
AvailableWidth |
Gets the width available on the box, counting padding and margin.
| |
BackgroundColor | ||
BackgroundGradient | ||
BackgroundGradientAngle | ||
BackgroundImage | ||
BackgroundPosition | ||
BackgroundRepeat | ||
BorderBottomColor | ||
BorderBottomStyle | ||
BorderBottomWidth | ||
BorderCollapse | ||
BorderLeftColor | ||
BorderLeftStyle | ||
BorderLeftWidth | ||
BorderRightColor | ||
BorderRightStyle | ||
BorderRightWidth | ||
BorderSpacing | ||
BorderTopColor | ||
BorderTopStyle | ||
BorderTopWidth | ||
Bounds |
Gets the bounds of the box
| |
ClientBottom |
Gets the bottom of the client rectangle
| |
ClientLeft |
Gets the left of the client rectangle (Where content starts rendering)
| |
ClientRectangle |
Gets the client rectangle
| |
ClientRight |
Gets the right of the client rectangle
| |
ClientTop |
Gets the top of the client rectangle (Where content starts rendering)
| |
CollapsedMarginTop |
The margin top value if was effected by margin collapse.
| |
Color | ||
CornerNeRadius | ||
CornerNwRadius | ||
CornerRadius | ||
CornerSeRadius | ||
CornerSwRadius | ||
Direction | ||
Display | ||
EmptyCells | ||
Float | ||
FontFamily | ||
FontSize | ||
FontStyle | ||
FontVariant | ||
FontWeight | ||
Height | ||
IsRounded |
Gets a value indicating if at least one of the corners of the box is rounded
| |
Left | ||
LineHeight | ||
ListStyle | ||
ListStyleImage | ||
ListStylePosition | ||
ListStyleType | ||
Location |
Gets or sets the location of the box
| |
MarginBottom | ||
MarginLeft | ||
MarginRight | ||
MarginTop | ||
MaxWidth | ||
Overflow | ||
PaddingBottom | ||
PaddingLeft | ||
PaddingRight | ||
PaddingTop | ||
Position | ||
Size |
Gets or sets the size of the box
| |
TextAlign | ||
TextDecoration | ||
TextIndent | ||
Top | ||
VerticalAlign | ||
Visibility | ||
WhiteSpace | ||
Width | ||
WordBreak | ||
WordSpacing |
名称 | 说明 | |
---|---|---|
GetActualColor | ||
GetCachedFont | ||
GetEmHeight |
Gets the height of the font in the specified units
| |
GetParent |
Get the parent of this css properties instance.
| |
InheritStyle |
Inherits inheritable values from specified box.从指定的框继承可继承的值。
| |
MeasureWordSpacing |
Measures the width of whitespace between words (set ActualWordSpacing).
| |
NoEms |
Ensures that the specified length is converted to pixels if necessary
| |
SetAllBorders |
Set the style/width/color for all 4 borders on the box. if null is given for a value it will not be set. |
名称 | 说明 | |
---|---|---|
FormatDateTime |
将数据以时间格式并对其格式化
(由 ObjectExtenstions 定义。) | |
FormatNumber |
将数据以数值方式对数据格式化
(由 ObjectExtenstions 定义。) | |
FormatString |
将数据以字符串格式对数据格式化
(由 ObjectExtenstions 定义。) | |
Sleep |
异步延迟执行代码,只能在主线程中调用
(由 DuiControlExtensions 定义。) | |
ToBool |
将数据转换成Bool,如果转换失败返回False
(由 ObjectExtenstions 定义。) | |
ToDateTime |
将数据转换成DateTime,如果转换失败返回空的时间
(由 ObjectExtenstions 定义。) | |
ToDouble |
将数据转换成Double,如果转换失败返回0
(由 ObjectExtenstions 定义。) | |
ToEnumT |
将数据转换成枚举,如果转换失败则返回默认值
(由 ObjectExtenstions 定义。) | |
ToFloat |
将数据转换成Float,如果转换失败返回0
(由 ObjectExtenstions 定义。) | |
ToInt | 已重载。
将数据转换成int,如果转换失败返回0
(由 ObjectExtenstions 定义。) | |
ToInt(Int32) | 已重载。
数据转换成int,如果转换失败,返回errorResult
(由 ObjectExtenstions 定义。) | |
ToJson |
将对象序列化成Json字符串
(由 JsonHelper 定义。) | |
ToLong |
将数据转换成Long,如果转换失败返回0
(由 ObjectExtenstions 定义。) |