LayoutRepositoryItem.ResetEditorPreferredWidth() Method

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll


public void ResetEditorPreferredWidth()
Public Sub ResetEditorPreferredWidth


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