Class
AggregateFunctionAttribute

Used to specify the usage and the design time description of the aggregate function. This class cannot be inherited.

Definition

Namespace:Telerik.Reporting.Expressions

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class AggregateFunctionAttribute : Attribute

Inheritance: objectAttributeAggregateFunctionAttribute

Constructors

AggregateFunctionAttribute()

Initializes a new instance of the AggregateFunctionAttribute class.

Declaration

cs-api-definition
public AggregateFunctionAttribute()

Fields

Default

Returns the default instance of the attribute with all its properties set to default values.

Declaration

cs-api-definition
public static readonly AggregateFunctionAttribute Default

Field Value

AggregateFunctionAttribute

Properties

Description

Gets the description of the aggregate function displayed in the expression builder.

Declaration

cs-api-definition
public string Description { get; set; }

Property Value

string

IsVisible

Gets a value indicating whether the aggregate should be shown at design time. Default value is true.

Declaration

cs-api-definition
public bool IsVisible { get; set; }

Property Value

bool

Name

Gets the name of the aggregate function as it should be used in the expressions.

Declaration

cs-api-definition
public string Name { get; set; }

Property Value

string

ReturnType

Gets or sets the return type of the aggregate function as it should be used in the expressions.

Declaration

cs-api-definition
public Type ReturnType { get; set; }

Property Value

Type

Methods

Equals(object)

Indicates whether this attribute instance and a specified object are equal.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Another object to compare to.

Returns

bool

true if obj is equal to this instance; otherwise, false.

Overrides Attribute.Equals(object)

GetHashCode()

Returns the hash code for this attribute instance.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A 32-bit signed integer hash code.

Overrides Attribute.GetHashCode()

IsDefaultAttribute()

Determines if this attribute is the default.

Declaration

cs-api-definition
public override bool IsDefaultAttribute()

Returns

bool

true if the attribute is the default value for this attribute class; otherwise, false.

Overrides Attribute.IsDefaultAttribute()