Skybound VisualTips

VisualTipRenderer.HasShadow Method 

Returns a value to indicate whether a soft shadow is drawn for a specified VisualTip.

[Visual Basic]
Protected Function HasShadow( _
   ByVal tip As VisualTip _
) As Boolean
[C#]
protected bool HasShadow(
   VisualTip tip
);

Parameters

tip
The VisualTip for which the value is returned.

Return Value

True if the tip should be drawn with a soft shadow; otherwise, false, and no soft shadow should be drawn.

Remarks

A tip has a soft shadow when layered windows are supported by the operating system, and soft shadows are enabled by the VisualTipProvider.Shadow property.

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.

See Also

VisualTipRenderer Class | Skybound.VisualTips.Rendering Namespace