.NET/Link API Version 1.7 USE FRAMES

DoubleBufferedPanel Class

A simple class intended to be used from Mathematica for flicker-free drawing in Mathematica code called from a Paint event handler.

For a list of all members of this type, see DoubleBufferedPanel Members.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            System.Windows.Forms.ScrollableControl
               System.Windows.Forms.Panel
                  Wolfram.NETLink.UI.DoubleBufferedPanel

[Visual Basic]
Public Class DoubleBufferedPanel
    Inherits Panel
[C#]
public class DoubleBufferedPanel : Panel

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This class calls the necessary methods to enable double-buffered drawing, which eliminates flicker. The methods needed to enable this condition are protected, so they cannot be scripted from Mathematica code for an arbitrary component. Instead, a special subclass is required.

Requirements

Namespace: Wolfram.NETLink.UI

Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll)

See Also

DoubleBufferedPanel Members | Wolfram.NETLink.UI Namespace