Controls which types include a property in the AI-assistant JSON schema.
No type arguments (global inclusion):
[AIAssistantInclude]ΓÇö the property is included for every type that declares or inherits it, even when the DSV.Hidden filter would otherwise exclude it. Use this for scalar authoring properties such asLeft,Top,Width, andHeightthat are Hidden only because the WinForms designer prefers the compoundLocation/Sizeproperties.With type arguments (whitelist):
[AIAssistantInclude("Panel, Table")]ΓÇö the property is included only for the named types. For every other inheriting type the property is explicitly excluded, regardless of any other filtering rules. This is the inverse of AIAssistantExcludeAttribute with type arguments and is useful when a property declared on a broad base class is meaningful only for a specific subset of its subclasses (e.g.ItemsonReportItemBaseis relevant for container types such asPanelbut not for leaf types such asGraph).Only one of AIAssistantIncludeAttribute or AIAssistantExcludeAttribute should be applied to a given property.
Definition
Namespace:Telerik.Reporting
Assembly:Telerik.Reporting.dll
Syntax:
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public sealed class AIAssistantIncludeAttribute : Attribute
Inheritance: objectAttributeAIAssistantIncludeAttribute
Constructors
Initializes a new instance of AIAssistantIncludeAttribute.
public AIAssistantIncludeAttribute(string types = "")
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".
public string[] Types { get; }