Class FormulaFunctionsWithViewContext
The context supplied while executing a formula that has a custom context item, and a view that it operates against
This context is mainly used against formulas that configure and work against a view itself, such as ones that can specify if a view is visible dynamically, or more.
Inheritance
System.Object
FormulaFunctionsWithViewContext
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LemonEdge.Client.Core
Assembly: ClientCore.dll
Syntax
public class FormulaFunctionsWithViewContext : FormulaFunctionsWithContext, IFormulaFunctionsWithContextItem, IFormulaFunctions
Properties
View
The view this formula can work with
Declaration
public IModelView View { get; }
Property Value
Type | Description |
---|---|
IModelView |
Methods
GetView(ViewDescriptorInstance)
Returns a view from the overall layout that can be referenced by this formula
Declaration
public IModelView GetView(ViewDescriptorInstance descriptor)
Parameters
Type | Name | Description |
---|---|---|
ViewDescriptorInstance | descriptor | A descriptor for the view that you want returned that also exists within the current layout this formula is executing within |
Returns
Type | Description |
---|---|
IModelView | A view from the overall layout that can be referenced by this formula |