PFGrid toolkit and controls for .NET Winforms

...Empower your UI with our fast and flexible controls!

PFHTMLPanel.NET

You can use this control as HTML-container, just place the HtmlPanel on a form and feed the Text property with HTML code. The control is 100% managed code, no embedded browser is needed anymore to display HTML.

PFHtmlPanel.NET: Html-rendering for WinForms

Images

We all know that the src attribute of the img HTML tag can be a relative or absolute path to an image on the same or any other server. Here things are slightly different. Images can come from other sources:

  • File Paths: If you place a path to a file, the Renderer will try to load it using Image.FromFile
  • Static Properties: Obtains the image from a static property that returns an Image object
  • Static Methods: Obtains the image from a static method that takes no arguments and returns an Image

Links

The HTML Renderer suppors three kinds of links:

  • URI paths: Any path that the URI class can parse. Your internet browser will be activated.
  • File paths: Any other path, It will be started as if you typed it on the Run Windows dialog.
  • Code paths: Will trigger the specified static method.

It is also possible to bind the event LinkClicked, cancel the default-logic and do something else when the link is clicked.