Skip to main content
.NET Framework 4.6.2+

ModelDefaultAttribute(String, String) Constructor

Initializes a new instance of the ModelDefaultAttribute class with the default options.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public ModelDefaultAttribute(
    string propertyName,
    string propertyValue
)

Parameters

Name Type Description
propertyName String

A string that is the name of the property for which the current attribute sets a specified value.

propertyValue String

A string representation of the value that is set for the specified property.

Remarks

For details, refer to the ModelDefaultAttribute class description.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ModelDefaultAttribute(String, String) constructor.

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