Skip to main content
Tab

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

Creates a layout item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

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