C# Класс Open.Core.UI.Controls.HtmlBlock

Renders a block of HTML content.
This control achieves HTML rendering by positioning a DIV element within the host browser at the position of the control.
Наследование: System.Windows.Controls.UserControl, INotifyDisposed
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
BackgroundStyleProperty System.Windows.DependencyProperty
InnerHtmlProperty System.Windows.DependencyProperty
OffsetProperty System.Windows.DependencyProperty
OverflowStyleProperty System.Windows.DependencyProperty
SourceUriProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
GetPosition Point?
InsertElement void
OnDisposed void
OnLayoutUpdated void
OnLoaded void
OnSourceUriChanged void
RemoveElement void
UpdateDimensions void
UpdateInnerHtml void
UpdateStyle void

Открытые методы

Метод Описание
Dispose ( ) : void
HtmlBlock ( ) : System
Load ( Uri source ) : void

Loads the HTML contained in the file at the given location.

Защищенные методы

Метод Описание
Dispose ( bool isDisposing ) : void

Приватные методы

Метод Описание
GetPosition ( ) : Point?
InsertElement ( ) : void
OnDisposed ( ) : void
OnLayoutUpdated ( object sender, EventArgs e ) : void
OnLoaded ( object sender, RoutedEventArgs e ) : void
OnSourceUriChanged ( ) : void
RemoveElement ( ) : void
UpdateDimensions ( ) : void
UpdateInnerHtml ( ) : void
UpdateStyle ( ) : void

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool isDisposing ) : void
isDisposing bool
Результат void

HtmlBlock() публичный Метод

public HtmlBlock ( ) : System
Результат System

Load() публичный Метод

Loads the HTML contained in the file at the given location.
public Load ( Uri source ) : void
source System.Uri The source file containing the HTML.
Результат void

Описание свойств

BackgroundStyleProperty публичное статическое свойство

Gets or sets the CSS style to apply to as the background for the DIV element.
public static DependencyProperty,System.Windows BackgroundStyleProperty
Результат System.Windows.DependencyProperty

InnerHtmlProperty публичное статическое свойство

Gets or sets the HTML content of the DIV element.
public static DependencyProperty,System.Windows InnerHtmlProperty
Результат System.Windows.DependencyProperty

OffsetProperty публичное статическое свойство

Gets or sets the pixel offset to apply when calculating the position of the HTML (used when the SL app is not filling the entire window).
public static DependencyProperty,System.Windows OffsetProperty
Результат System.Windows.DependencyProperty

OverflowStyleProperty публичное статическое свойство

Gets or sets the overflow style to apply to the DIV element.
public static DependencyProperty,System.Windows OverflowStyleProperty
Результат System.Windows.DependencyProperty

SourceUriProperty публичное статическое свойство

Gets or sets the source of a file containing the HTML to load.
public static DependencyProperty,System.Windows SourceUriProperty
Результат System.Windows.DependencyProperty