Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V21.2
  • ISnapFieldOwner.CreateSnList(DocumentPosition, String) Method

    Adds a Snap list to the specified position in a document.

    Namespace: DevExpress.Snap.Core.API

    Assembly: DevExpress.Snap.v21.2.Core.dll

    NuGet Package: DevExpress.Snap.Core

    Declaration

    SnapList CreateSnList(
        DocumentPosition position,
        string name
    )

    Parameters

    Name Type Description
    position DocumentPosition

    A DocumentPosition object.

    name String

    A String value, specifying the name of a data field bound to the created SnapList.

    Returns

    Type Description
    SnapList

    An object implementing the SnapList interface.

    The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateSnList(DocumentPosition, String) method.

    Note

    The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

    See Also