WinFormsAdapter 方法 |
WinFormsAdapter 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | AddFontFamily |
Adds a font family to be used.
(继承自 RAdapter。) |
![]() | AddFontFamilyMapping |
Adds a font mapping from fromFamily to toFamily iff the fromFamily is not found. (继承自 RAdapter。)When the fromFamily font is used in rendered html and is not found in existing fonts (installed or added) it will be replaced by toFamily. |
![]() | ConvertImage |
Convert image object returned from HtmlImageLoadEventArgs to RImage.
(继承自 RAdapter。) |
![]() | GetClipboardDataObject |
Get data object for the given html and plain text data. (继承自 RAdapter。)The data object can be used for clipboard or drag-drop operation. Not relevant for platforms that don't render HTML on UI element. |
![]() | GetColor |
Resolve color value from given color name.
(继承自 RAdapter。) |
![]() | GetContextMenu |
Create a context menu that can be used on the control (继承自 RAdapter。)Not relevant for platforms that don't render HTML on UI element. |
![]() | GetFont |
Get font instance by given font family name, size and style.
(继承自 RAdapter。) |
![]() | GetLinearGradientBrush |
Get linear gradient color brush from color1 to color2.
(继承自 RAdapter。) |
![]() | GetLoadingFailedImage |
Get image to be used if HTML image load failed.
(继承自 RAdapter。) |
![]() | GetLoadingImage |
Get image to be used while HTML image is loading.
(继承自 RAdapter。) |
![]() | GetPen |
Get cached pen instance for the given color.
(继承自 RAdapter。) |
![]() | GetSolidBrush |
Get cached solid brush instance for the given color.
(继承自 RAdapter。) |
![]() | ImageFromStream |
Create an RImage object from the given stream.
(继承自 RAdapter。) |
![]() | IsFontExists |
Check if the given font exists in the system by font family name.
(继承自 RAdapter。) |
![]() | SaveToFile |
Save the given image to file by showing save dialog to the client. (继承自 RAdapter。)Not relevant for platforms that don't render HTML on UI element. |
![]() | SetToClipboard(String) |
Set the given text to the clipboard (继承自 RAdapter。)Not relevant for platforms that don't render HTML on UI element. |
![]() | SetToClipboard(RImage) |
Set the given image to clipboard. (继承自 RAdapter。)Not relevant for platforms that don't render HTML on UI element. |
![]() | SetToClipboard(String, String) |
Set the given html and plain text data to clipboard. (继承自 RAdapter。)Not relevant for platforms that don't render HTML on UI element. |
名称 | 说明 | |
---|---|---|
![]() | 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 定义。) |