Steps to reproduce:
1. Create a new XAF project.
2. Create a business object with some properties.
3. Build the solution.
4. Open the object detail view in ModelEditor.
5. Select the Layout node and enter customization mode via the CustomizeLayout command.
6. Drag an EmptySpaceItem to the layout.
7. Exit the customization mode.
8. Right-click the Layout node and select the ShowDifferences command.
->>> Note that all layout items now have SizeConstraintsType="Default" serialized, while this was the initial (default) value of this property.
9. Now close the model wihtout saving changes and open it again.
10. In the Options/LayoutManagerOptions node, set properties as follows: CaptionHorizontalAlignment = Far, CaptionVerticalAlignment = Top, and CaptionWordWrap = Wrap.
11. Repeat steps 4-8.
->>> Note that the layout item corresponding to the EmptySpaceItem has CaptionWordWrap="Default" CaptionHorizontalAlignment="Default" CaptionVerticalAlignment="Default"
Since the "Default" value is not the same as an unmodified property, this behavior may lead to unexpected layout issues like mentioned in T284008.
Unexpected detail view layout differences are produced when the layout is customized via the CustomizeLayout command
Answers approved by DevExpress Support
We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.
Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.
- v15.2.4Download Official Update
- v15.1.8Download Official Update