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

MaskProperties.Assign(MaskProperties) Method

Copies the settings from the specified MaskProperties object to the current object.

Namespace: DevExpress.XtraEditors.Mask

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

public void Assign(
    MaskProperties data
)

Parameters

Name Type Description
data MaskProperties

A MaskProperties object whose settings are assigned to the current object.

Remarks

The Assign method is useful if you need two or more MaskProperties objects with identical or only slightly different settings. It enables you to set the options just once and then copy them to other MaskProperties objects.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Assign(MaskProperties) 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