skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Use Reports in Applications
    • System Requirements
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now
Search all

Class FunctionAttribute

Used to specify the usage and the design time description of the functions.

Inheritance
System.Object
System.Attribute
FunctionAttribute
Namespace: Telerik.Reporting.Expressions
Assembly: Telerik.Reporting.dll

Syntax

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)]
public class FunctionAttribute : Attribute, _Attribute

Constructors

FunctionAttribute()

Declaration
public FunctionAttribute()

Fields

Default

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

Declaration
public static readonly FunctionAttribute Default
Field Value
FunctionAttribute

Properties

Category

Gets or sets the category of the function as it should be displayed in the expression builder.

Declaration
public string Category { get; set; }
Property Value
System.String

Description

Gets or sets the description of the function displayed in the expression builder.

Declaration
public string Description { get; set; }
Property Value
System.String

IsVisible

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

Declaration
public bool IsVisible { get; set; }
Property Value
System.Boolean

Name

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

Declaration
public string Name { get; set; }
Property Value
System.String

Namespace

Gets or sets the namespace of the function as it should be used in the expressions.

Declaration
public string Namespace { get; set; }
Property Value
System.String

Methods

Equals(Object)

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

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

Another object to compare to.

Returns
System.Boolean

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

Overrides
System.Attribute.Equals(System.Object)

GetHashCode()

Returns the hash code for this attribute instance.

Declaration
public override int GetHashCode()
Returns
System.Int32

A 32-bit signed integer hash code.

Overrides
System.Attribute.GetHashCode()

IsDefaultAttribute()

Determines if this attribute is the default.

Declaration
public override bool IsDefaultAttribute()
Returns
System.Boolean

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

Overrides
System.Attribute.IsDefaultAttribute()
Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.