Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WindowChromeHelper.IsSnapLayoutsElement Attached Property

Gets or sets a value that indicates whether the element is a snap layouts element.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

#Returns

Type Description
Boolean

true if the element is a snap layouts element; otherwise, false.

#Remarks

To enable snap layouts for a specific element, set the WindowChromeHelper.IsSnapLayoutsElement attached property to true for this element:

xml
<Button Content="Button" dx:WindowChromeHelper.IsSnapLayoutsElement="True"/>
See Also