Skip to main content
A newer version of this page is available.

ISnapFieldOwner.CreateSnCheckBox(DocumentPosition, String) Method

Adds a Check Box to the specified position in a document.

Namespace: DevExpress.Snap.Core.API

Assembly: DevExpress.Snap.v19.1.Core.dll

Declaration

SnapCheckBox CreateSnCheckBox(
    DocumentPosition position,
    string dataFieldName
)

Parameters

Name Type Description
position DocumentPosition

A DocumentPosition object.

dataFieldName String

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

Returns

Type Description
SnapCheckBox

An object implementing the SnapCheckBox interface.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateSnCheckBox(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