Back to Devexpress

RepositoryItemPopupBase.ShowPopupShadow Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempopupbase-24473ac1.md

latest3.4 KB
Original Source

RepositoryItemPopupBase.ShowPopupShadow Property

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

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Appearance")]
public virtual bool ShowPopupShadow { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(True)>
Public Overridable Property ShowPopupShadow As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to display the popup window’s shadow; otherwise, false.

|

Remarks

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

csharp
item.PopupControl = CreatePopupControl();
item.ShowPopupCloseButton = item.ShowPopupShadow = false;
item.PopupSizeable = false;

winforms-grid-use-layoutview-as-master-view/VB/WindowsApplication3/MasterDetailHelper.vb#L108

vb
item.PopupControl = CreatePopupControl()
item.ShowPopupShadow = False
item.ShowPopupCloseButton = item.ShowPopupShadow

See Also

PopupBorderStyle

RepositoryItemPopupBase Class

RepositoryItemPopupBase Members

DevExpress.XtraEditors.Repository Namespace