Class
AIAssistantRequiredAttribute

Marks a property as required (or not required) for AI-assisted report authoring. The presence of this attribute with IsRequired set to true indicates that an AI agent must provide a value for this property when constructing the containing object.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public sealed class AIAssistantRequiredAttribute : Attribute

Inheritance: objectAttributeAIAssistantRequiredAttribute

Constructors

AIAssistantRequiredAttribute()

Initializes a new instance of the AIAssistantRequiredAttribute class with IsRequired set to true.

Declaration

cs-api-definition
public AIAssistantRequiredAttribute()

AIAssistantRequiredAttribute(bool)

Initializes a new instance of the AIAssistantRequiredAttribute class with the specified value indicating whether the property is required.

Declaration

cs-api-definition
public AIAssistantRequiredAttribute(bool isRequired)

Parameters

isRequired

bool

true if the property is required; false to explicitly mark it as not required, which can be used to override an inherited requirement in a descendant class.

Properties

IsRequired

Gets a value indicating whether the decorated property is required for AI-assisted authoring.

Declaration

cs-api-definition
public bool IsRequired { get; }

Property Value

bool

true if the property is required; otherwise, false. The default value is true.