Popup.HasDropShadow Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether a Popup is displayed with a drop shadow effect.
public:
property bool HasDropShadow { bool get(); };
public bool HasDropShadow { get; }
member this.HasDropShadow : bool
Public ReadOnly Property HasDropShadow As Boolean
Property Value
true
if the Popup is displayed with a drop shadow; otherwise, false
.
Examples
The following example shows how to get the value of the HasDropShadow property.
bool hasDropShadow = myPopup.HasDropShadow;
Dim hasDropShadow As Boolean = myPopup.HasDropShadow
Remarks
A drop shadow effect displays when the SystemParameters.DropShadow property and the Popup.AllowsTransparency property are set to true
.
Dependency Property Information
Identifier field | HasDropShadowProperty |
Metadata properties set to true |
None |
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.