New to Telerik ReportingStart a free 30-day trial

Controls which types include a property in the AI-assistant JSON schema.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

C#
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public sealed class AIAssistantIncludeAttribute : Attribute

Inheritance: objectAttributeAIAssistantIncludeAttribute

Constructors

Initializes a new instance of AIAssistantIncludeAttribute.

C#
public AIAssistantIncludeAttribute(string types = "")
Parameters:typesstring

Optional comma-separated type names that form a whitelist. When omitted or empty the property is included for all types. When specified, the property is included ONLY for those types and explicitly excluded for all others. Example: "Panel, Table, List".

Properties

Types

string[]

Gets the type names for which this property should be force-included. An empty array means "include for all types".

C#
public string[] Types { get; }