The text displayed in [!:Autodesk::Revit::DB::ColorFillLegend] for this entry.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public string Caption { get; set; }
Property Value
StringExceptions
Exception | Condition |
---|---|
ArgumentException | When setting this property: newCaption is an empty string or contains only whitespace. |
ArgumentNullException | When setting this property: A non-optional argument was null |