Skip to main content
Tab

DialogViewModelBase.PrepareLayoutItemFor<TLayoutItem>(String, DialogViewModelBase.PrepareLayoutItemMethod<TLayoutItem>) Method

Creates a layout item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

Declaration

public void PrepareLayoutItemFor<TLayoutItem>(
    string name,
    DialogViewModelBase.PrepareLayoutItemMethod<TLayoutItem> prepareMethod
)
    where TLayoutItem : LayoutItemBase

Parameters

Name Type Description
name String

The name of the layout item.

prepareMethod DialogViewModelBase.PrepareLayoutItemMethod<TLayoutItem>

A delegate method.

Type Parameters

Name Description
TLayoutItem

The type of the layout item.

See Also