Popup.HasDropShadow Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value that indicates whether a Popup is displayed with a drop shadow effect.

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

Public ReadOnly Property HasDropShadow As Boolean

Property Value

Type: System.Boolean

true if the Popup is displayed with a drop shadow; otherwise, false.

A drop shadow effect displays when the SystemParameters.DropShadow property and the Popup.AllowsTransparency property are set to true.

Identifier field

HasDropShadowProperty

Metadata properties set to true

None

The following example shows how to get the value of the HasDropShadow property.

Dim hasDropShadow As Boolean = myPopup.HasDropShadow

.NET Framework
Available since 3.0
Return to top
Show: