点击或拖拽改变大小

HtmlContainer 属性

HtmlContainer 类型公开以下成员。

属性
  名称说明
公共属性ActualSize
The actual size of the rendered html (after layout)
公共属性AvoidAsyncImagesLoading
Gets or sets a value indicating if image asynchronous loading should be avoided (default - false).
True - images are loaded synchronously during html parsing.
False - images are loaded asynchronously to html parsing when downloaded from URL or loaded from disk.
公共属性AvoidGeometryAntialias
Gets or sets a value indicating if anti-aliasing should be avoided for geometry like backgrounds and borders (default - false).
公共属性AvoidImagesLateLoading
Gets or sets a value indicating if image loading only when visible should be avoided (default - false).
True - images are loaded as soon as the html is parsed.
False - images that are not visible because of scroll location are not loaded until they are scrolled to.
公共属性CssData
the parsed stylesheet data used for handling the html
公共属性IsContextMenuEnabled
Is the build-in context menu enabled and will be shown on mouse right click (default - true)
公共属性IsSelectionEnabled
Is content selection is enabled for the rendered html (default - true).
If set to 'false' the rendered html will be static only with ability to click on links.
公共属性Location
The top-left most location of the rendered html.
This will offset the top-left corner of the rendered html.
公共属性MaxSize
The max width and height of the rendered html.
The max width will effect the html layout wrapping lines, resize images and tables where possible.
The max height does NOT effect layout, but will not render outside it (clip).
ActualSize can be exceed the max size by layout restrictions (unwrappable line, set image size, etc.).
Set zero for unlimited (width\height separately).
公共属性Root
根元素
公共属性代码示例ScrollOffset
The scroll offset of the html.
This will adjust the rendered html by the given offset so the content will be "scrolled".
公共属性SelectedHtml
Copy the currently selected html segment with style.
公共属性SelectedText
Get the currently selected text segment in the html.
Top
参见