HasDropShadow Property

ToolTip.HasDropShadow Property


Gets or sets a value that indicates whether the control has a drop shadow.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public bool HasDropShadow { get; set; }

Property Value

Type: System.Boolean

true if the control has a drop shadow; otherwise, false. The default is false.

When the ToolTip opens, the value is set to the value of SystemParameters.DropShadow. Setting this property to true has no effect if the SystemParameters.DropShadow property is false.

Identifier field


Metadata properties set to true


The following example shows how to set the HasDropShadow property for a ToolTip control.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft