HtmlLabel
Provides HTML rendering using the text property. WPF control that will render html content in it's client rectangle. Using AutoSize and AutoSizeHeightOnly client can control how the html content effects the size of the label. Either case scrollbars are never shown and html content outside of client bounds will be clipped. MaxWidth/MaxHeight and MinWidth/MinHeight with AutoSize can limit the max/min size of the control The control will handle mouse and keyboard events on it to support html text selection, copy-paste and mouse clicks.
Inherits: HtmlControl
Constructors
HtmlLabel()
Init.
Properties
AutoSizeHeightOnly : bool
Automatically sets the height of the label by content height (width is not effected).
Methods
MeasureOverride(Size) : Size
Perform the layout of the html in the control.
OnDependencyProperty_valueChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Handle when dependency property value changes to update the underline HtmlContainer with the new value.
Fields
AutoSizeHeightOnlyProperty : DependencyProperty
Dependency property for AutoSizeHeightOnly.
AutoSizeProperty : DependencyProperty
Dependency property for AutoSize.