Class CustomItemDescriptor
- Namespace
- ReportWright.Design.Items
- Assembly
- ReportWright.Design.dll
A custom report item: the built-in barcode drawer's symbologies place (Code 128 by default, QR Code for the QR entry); a vendor type is preserved and drawn as a frame, never placed, because it needs a drawer the host registers.
public sealed class CustomItemDescriptor : ReportItemDescriptor
- Inheritance
-
CustomItemDescriptor
- Inherited Members
Constructors
- CustomItemDescriptor(string, string, string, string?)
Initializes the descriptor.
Properties
- IsPlaceable
Gets whether the palette can place this item in the current designer phase; a descriptor that only draws existing items says false and names the phase in PlaceableNote.
- MinimumVersion
Gets the oldest schema version the element exists in; the palette greys the entry out in an older file (decisions, item 2).
- PlaceableNote
Gets why the item cannot be placed, for the palette's tooltip; null when it can.
- PropertySections
Gets the property sections the grid shows for this kind, from the property catalogue.
Methods
- CreateElement(DesignerDocument, string)
Creates the element a placement inserts, without position or size (the document sets those).
- Draw(RdlElement, int, int)
Draws the schematic (A.7.3): real geometry where it is cheap, bracketed expression text where a value would be.
- Matches(RdlElement)
Whether an element is one of this kind; the default compares the element name, a chart descriptor also reads the chart type.