C# Class 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.
Inheritance: System.Windows.Controls.UserControl, INotifyDisposed
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Méthodes publiques

Свойство Type Description
BackgroundStyleProperty System.Windows.DependencyProperty
InnerHtmlProperty System.Windows.DependencyProperty
OffsetProperty System.Windows.DependencyProperty
OverflowStyleProperty System.Windows.DependencyProperty
SourceUriProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
GetPosition Point?
InsertElement void
OnDisposed void
OnLayoutUpdated void
OnLoaded void
OnSourceUriChanged void
RemoveElement void
UpdateDimensions void
UpdateInnerHtml void
UpdateStyle void

Méthodes publiques

Méthode Description
Dispose ( ) : void
HtmlBlock ( ) : System
Load ( Uri source ) : void

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

Méthodes protégées

Méthode Description
Dispose ( bool isDisposing ) : void

Private Methods

Méthode Description
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

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool isDisposing ) : void
isDisposing bool
Résultat void

HtmlBlock() public méthode

public HtmlBlock ( ) : System
Résultat System

Load() public méthode

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.
Résultat void

Property Details

BackgroundStyleProperty public_oe static_oe property

Gets or sets the CSS style to apply to as the background for the DIV element.
public static DependencyProperty,System.Windows BackgroundStyleProperty
Résultat System.Windows.DependencyProperty

InnerHtmlProperty public_oe static_oe property

Gets or sets the HTML content of the DIV element.
public static DependencyProperty,System.Windows InnerHtmlProperty
Résultat System.Windows.DependencyProperty

OffsetProperty public_oe static_oe property

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
Résultat System.Windows.DependencyProperty

OverflowStyleProperty public_oe static_oe property

Gets or sets the overflow style to apply to the DIV element.
public static DependencyProperty,System.Windows OverflowStyleProperty
Résultat System.Windows.DependencyProperty

SourceUriProperty public_oe static_oe property

Gets or sets the source of a file containing the HTML to load.
public static DependencyProperty,System.Windows SourceUriProperty
Résultat System.Windows.DependencyProperty