DistinctValuesEditorAttribute constructor (1 of 2)
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Initializes a new instance of the DistinctValuesEditorAttribute class.
public DistinctValuesEditorAttribute()
See Also
DistinctValuesEditorAttribute constructor (2 of 2)
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Initializes a new instance of the DistinctValuesEditorAttribute class.
public DistinctValuesEditorAttribute(Type rowType, string propertyName)
| parameter | description |
|---|---|
| rowType | Type of the row. |
| propertyName | Name of the property. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | rowType or propertyName |