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.DisableSnapLayouts Attached Property

Gets or sets the disable value of snap layouts feature.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

#Returns

Type Description
Boolean

true to disable snap layouts; otherwise, false.

#Remarks

When you disable snap layouts for a specific window, the snap layouts feature is not available for all elements in this window. To disable snap layouts for a specific element, set the WindowChromeHelper.DisableSnapLayouts attached property to true for this element:

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