Skip to main content
.NET 6.0+

IModelViewLayout Interface

The Layout node defines the layout of View Items in a Composite View.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[ModelNodesGenerator(typeof(ModelDetailViewLayoutNodesGenerator))]
public interface IModelViewLayout :
    IModelNode,
    IModelList<IModelViewLayoutElement>,
    IList<IModelViewLayoutElement>,
    ICollection<IModelViewLayoutElement>,
    IEnumerable<IModelViewLayoutElement>,
    IEnumerable

Remarks

The Model Editor used for working with the Application Model allows you to layout View Items in a standard way. When the Layout node is selected, a design surface is displayed on the right, instead of the property list:

Tutorial_UIC_Lesson21_1

To change the default View Items layout, right-click on the empty space and choose Customize Layout. The Customization form will be invoked. Now, you can drag items to the required locations. When finished, close the Customization form.

To learn more about the Customization form, the Layout Tree View tab and its context menu, refer to the Default Runtime Customization link.

Note

In addition to the Layout node’s nested nodes, there is a IModelLayoutManagerOptions node, that allows you to specify global settings for Composite View layout.

To learn more about layout in XAF, refer to the View Items Layout Customization topic.

This interface is a part of the Application Model infrastructure. You do not need to implement this interface in most cases.

The IModelViewLayout node represents a list of the IModelViewLayoutElement nodes.

To customize the default content of this node, implement a Generator Updater for the ModelDetailViewLayoutNodesGenerator Nodes Generator.

See Also