FunctionAttribute
Used to specify the usage and the design time description of the functions.
Definition
Namespace:Telerik.Reporting.Expressions
Assembly:Telerik.Reporting.dll
Syntax:
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false)]
public class FunctionAttribute : Attribute
Inheritance: objectAttributeFunctionAttribute
Constructors
public FunctionAttribute()
Fields
Returns the default instance of the attribute with all its properties set to default values.
public static readonly FunctionAttribute Default
Properties
Category
string
Gets or sets the category of the function as it should be displayed in the expression builder.
public string Category { get; set; }
Description
string
Gets or sets the description of the function displayed in the expression builder.
public string Description { get; set; }
IsVisible
bool
Gets or sets a value indicating whether the function should be shown at
design time. Default value is true.
public bool IsVisible { get; set; }
Name
string
Gets or sets the name of the function as it should be used in the expressions.
public string Name { get; set; }
Namespace
string
Gets or sets the namespace of the function as it should be used in the expressions.
public string Namespace { get; set; }
Methods
Equals(object)
bool
Indicates whether this attribute instance and a specified object are equal.
public override bool Equals(object obj)
Another object to compare to.
Returns:bool
true if obj is equal to this instance; otherwise,
false.
Overrides:
Returns the hash code for this attribute instance.
public override int GetHashCode()
int
A 32-bit signed integer hash code.
Overrides:
Determines if this attribute is the default.
public override bool IsDefaultAttribute()
bool
true if the attribute is the default value for this attribute
class; otherwise, false.
Overrides: