C# Class Nexus.UI.Controls.HtmlLabel

A label that allows use of HTML to format the text.
Inheritance: System.Windows.Forms.WebBrowser
Afficher le fichier Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
HtmlLabel ( ) : System

The default constructor.

Méthodes protégées

Méthode Description
OnNavigating ( System.Windows.Forms.WebBrowserNavigatingEventArgs e ) : void

Raises the WebBrowser.Navigating event.

This cancels all navigation events that aren't caused by setting the Text property. If the navigation is caused by something other than setting the Text property, the new location is open in the default browser.

OnSizeChanged ( EventArgs e ) : void

Raises the Control.SizeChanged event.

This enables or disabled the scroll bars as required.

SetScrollbarVisibility ( ) : void

This enables or disabled the scroll bars as required.

Method Details

HtmlLabel() public méthode

The default constructor.
public HtmlLabel ( ) : System
Résultat System

OnNavigating() protected méthode

Raises the WebBrowser.Navigating event.
This cancels all navigation events that aren't caused by setting the Text property. If the navigation is caused by something other than setting the Text property, the new location is open in the default browser.
protected OnNavigating ( System.Windows.Forms.WebBrowserNavigatingEventArgs e ) : void
e System.Windows.Forms.WebBrowserNavigatingEventArgs A describing the event arguments.
Résultat void

OnSizeChanged() protected méthode

Raises the Control.SizeChanged event.
This enables or disabled the scroll bars as required.
protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs A describing the event arguments.
Résultat void

SetScrollbarVisibility() protected méthode

This enables or disabled the scroll bars as required.
protected SetScrollbarVisibility ( ) : void
Résultat void