HtmlTextBlock Class

Allows you to display HTML content using a XAML FlowDocument control.

Definition

Namespace: Aliquo.Windows.Controls
Assembly: Aliquo.Windows.Controls (in Aliquo.Windows.Controls.dll) Version: 5.0.9179.22656
C#
public class HtmlTextBlock : UserControl, 
	IComponentConnector
Inheritance
Object    DispatcherObject    DependencyObject    Visual    UIElement    FrameworkElement    Control    ContentControl    UserControl    HtmlTextBlock
Implements
IComponentConnector

Constructors

HtmlTextBlock Constructor class.

Properties

DocumentLineHeight Gets or sets the height of each line of content in the document.
DocumentPagePadding Gets or sets a value indicating the thickness of the padding space between the boundaries of a page and the page content.
HorizontalScrollBarVisibility Gets or sets a value indicating whether a horizontal scroll bar is displayed.
IsToolBarVisible Gets or sets a value indicating whether the FlowDocumentScrollViewer toolbar is visible.
Text Gets or sets the Html content to display in the control.
VerticalScrollBarVisibility Gets or sets a value indicating whether a vertical scroll bar is displayed.

Methods

InitializeComponent InitializeComponent
OnApplyTemplate OnApplyTemplate method.
(Overrides FrameworkElementOnApplyTemplate)

Events

HyperlinkNavigate It occurs when the navigation of a hyperlink associated with the content of the document is activated.

Extension Methods

GetAttributeFromT Get attribute from a class.
(Defined by ObjectExtensions)
ValidateDataAnnotations Validate class with validator of DataAnnotations.
(Defined by ObjectExtensions)

See Also