Skip to main content

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

LayoutRepositoryItem.ResetEditorPreferredWidth() Method

In This Article

Resets the desired width of the layout item’s region displaying an editor.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public void ResetEditorPreferredWidth()

#Remarks

The desired width of a layout item’s editor is specified by the LayoutRepositoryItem.EditorPreferredWidth property.

The ResetEditorPreferredWidth method does not change the LayoutRepositoryItem.EditorPreferredWidth value if it is less than 20; otherwise, the desired editor’s width is automatically set to 20.

See Also