.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

CompositeView.RemoveItem(String) Method

Removes a particular View Item from a Composite View's CompositeView.Items collection.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public void RemoveItem(
    string id
)
Public Sub RemoveItem(
    id As String
)
public void RemoveItem(
    string id
)
Public Sub RemoveItem(
    id As String
)
public void RemoveItem(
    string id
)
Public Sub RemoveItem(
    id As String
)

Parameters

Name Type Description
id String

A string value representing the ID of the View Item to be removed.

Parameters

Name Type Description
id String

A string value representing the ID of the View Item to be removed.

Parameters

Name Type Description
id String

A string value representing the ID of the View Item to be removed.

Remarks

If the specified View Item cannot be found, this method does nothing.

You can handle the CompositeView.ItemsChanged event to perform specific actions after removing an item from the CompositeView.Items collection.

You can also remove a View Item via the Application Model. For this purpose, use the Application | Views | DetailView | Items node.

See Also