Constructor PropertyDescriptor
- Namespace
- ReportWright.Design.Properties
- Assembly
- ReportWright.Design.dll
PropertyDescriptor(string, string, PropertyKind, bool, IReadOnlyList<string>?, ReportSchemaVersion, ReportSchemaVersion?, string?)
Initializes the descriptor.
public PropertyDescriptor(string label, string path, PropertyKind kind, bool allowsExpression, IReadOnlyList<string>? enumValues = null, ReportSchemaVersion minimumVersion = ReportSchemaVersion.Rdl2005, ReportSchemaVersion? maximumVersion = null, string? description = null)
Parameters
labelstringThe label in the grid.
pathstringThe element path under the item, segments separated by
/, or@Namefor the name attribute.kindPropertyKindHow it is edited.
allowsExpressionboolWhether an
=expression may replace the literal.enumValuesIReadOnlyList<string>The allowed values for Enum.
minimumVersionReportSchemaVersionThe oldest schema version that knows the property.
maximumVersionReportSchemaVersion?The newest schema version that knows it, or null for every later one.
descriptionstringA sentence for the grid's help text.