Class
FunctionEditorItemModel

Describes a function item in the expression editor.

Definition

Namespace:Telerik.Windows.Controls.Expressions

Assembly:Telerik.Windows.Controls.Expressions.dll

Syntax:

cs-api-definition
public class FunctionEditorItemModel : EditorItemModel

Inheritance: objectEditorModelBaseEditorItemModelFunctionEditorItemModel

Inherited Members EditorItemModel.DescriptionEditorModelBase.Name

Constructors

FunctionEditorItemModel(MethodInfo, string)

Initializes a new instance of the FunctionEditorItemModel class.

Declaration

cs-api-definition
public FunctionEditorItemModel(MethodInfo methodInfo, string category)

Parameters

methodInfo

MethodInfo

The method info of the function this item model represents.

category

string

The category of this function item model.

Properties

Category

Gets the category if this item model.

Declaration

cs-api-definition
public string Category { get; }

Property Value

string

MethodInfo

Gets the method info represented by this function item mode.

Declaration

cs-api-definition
public MethodInfo MethodInfo { get; }

Property Value

MethodInfo

QuickInfo

Gets a user-friendly text for this function and its arguments.

Declaration

cs-api-definition
public override string QuickInfo { get; }

Property Value

string

Overrides EditorItemModel.QuickInfo

Methods

ToString()

Returns the expression token value of this model.

Declaration

cs-api-definition
public override string ToString()

Returns

string

The expression token value of this model.

Overrides EditorItemModel.ToString()