Popup.HasDropShadow Proprietà

Definizione

Ottiene un valore che indica se un oggetto Popup viene visualizzato con un effetto ombreggiatura.

public:
 property bool HasDropShadow { bool get(); };
public bool HasDropShadow { get; }
member this.HasDropShadow : bool
Public ReadOnly Property HasDropShadow As Boolean

Valore della proprietà

true se Popup viene visualizzato con un effetto ombreggiatura, in caso contrario false.

Esempio

Nell'esempio HasDropShadow seguente viene illustrato come ottenere il valore della proprietà.

bool hasDropShadow = myPopup.HasDropShadow;
Dim hasDropShadow As Boolean = myPopup.HasDropShadow

Commenti

Un effetto ombreggiatura a discesa viene visualizzato quando la proprietà e la SystemParameters.DropShadowPopup.AllowsTransparency proprietà sono impostate su true.

Informazioni proprietà di dipendenza

Campo Identificatore HasDropShadowProperty
Proprietà dei metadati impostate su true Nessuno

Si applica a