Provides a set of methods to draw and measure VisualTip objects, and a base class for custom VisualTip renderers.
For a list of all members of this type, see VisualTipRenderer Members.
System.Object
Skybound.VisualTips.Rendering.VisualTipRenderer
Skybound.VisualTips.Rendering.VisualTipBalloonRenderer
Skybound.VisualTips.Rendering.VisualTipOfficeRenderer
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
This type provides the foundation for all rendering types. You may create a custom appearance for your tips by inheriting from this tip and overridding certain methods.
Each VisualTipProvider may be assigned a unique VisualTipRenderer. At design-time, this is done by selecting one of the predefined renderers from the drop-down list of the VisualTipProvider.Renderer property in the property grid. Using code, assign a new instance of a VisualTipRenderer-derrived type to the Renderer property. All tips displayed by the provider will be painted and measured using the assigned renderer.
Each element of a tip -- the images and text -- are represented by a VisualTipRenderElement value. Many methods in this type have parameters of the VisualTipRenderElement type.
When a tip is painted, the following overridable methods are called (in this order):
In addition, the OnCreateLayout and OnCreateMaskRegion methods may be called at any time.
To customize only the fonts or colors used by the renderer, override these methods instead:
VisualTipRenderer also provides a number of support methods which make it easier to write a custom renderer:
Namespace: Skybound.VisualTips.Rendering
Assembly: Skybound.VisualTips (in Skybound.VisualTips.dll)
VisualTipRenderer Members | Skybound.VisualTips.Rendering Namespace