windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempopupbase-24473ac1.md
Gets or sets whether the popup window’s shadow is displayed.
Namespace : DevExpress.XtraEditors.Repository
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(true)]
[DXCategory("Appearance")]
public virtual bool ShowPopupShadow { get; set; }
<DXCategory("Appearance")>
<DefaultValue(True)>
Public Overridable Property ShowPopupShadow As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true to display the popup window’s shadow; otherwise, false.
|
The screenshots below show image editors with the ShowPopupShadow property set to true and false respectively.
|
The ShowPopupShadow property value
|
Image
| | --- | --- | |
false
The shadow is not displayed
|
| |
true
The shadow is displayed at the right and bottom edges of the popup window.
|
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowPopupShadow property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-grid-use-layoutview-as-master-view/CS/WindowsApplication3/MasterDetailHelper.cs#L98
item.PopupControl = CreatePopupControl();
item.ShowPopupCloseButton = item.ShowPopupShadow = false;
item.PopupSizeable = false;
winforms-grid-use-layoutview-as-master-view/VB/WindowsApplication3/MasterDetailHelper.vb#L108
item.PopupControl = CreatePopupControl()
item.ShowPopupShadow = False
item.ShowPopupCloseButton = item.ShowPopupShadow
See Also