Skybound VisualTips

VisualTipRenderer.CreateLayout Method 

Creates a new VisualTipLayout which defines the location of each rendering element on the tip.

[Visual Basic]
Public Function CreateLayout( _
   ByVal tip As VisualTip _
) As VisualTipLayout
[C#]
public VisualTipLayout CreateLayout(
   VisualTip tip
);

Parameters

tip
The VisualTip for which the layout is created.

Return Value

A VisualTipLayout which defines the location of each rendering element on the tip.

Remarks

This method may not be overridden; to provide a custom layout, override the OnCreateLayout method instead.

Exceptions

Exception Type Condition
ArgumentNullException The tip parameter may not be a null reference.
ArgumentException The specified tip must be associated with a VisualTipProvider before it is rendered.
InvalidOperationException A null value may not be returned by OnCreateLayout. This exception should only be raised when you have overridden OnCreateLayout and your code returns a null reference.

See Also

VisualTipRenderer Class | Skybound.VisualTips.Rendering Namespace