AppearanceController.RefreshItemAppearance(View, String, String, Object, Object, EvaluatorContextDescriptor) Method

Obsolete. Collects and applies the conditional appearance rules appropriate for the specified UI element with a context descriptor specified.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

Assembly: DevExpress.ExpressApp.ConditionalAppearance.v18.1.dll

Declaration

[Obsolete("Use the RefreshItemAppearance(IViewInfo view, string itemType, string itemName, object item, object contextObject, EvaluatorContextDescriptor evaluatorContextDescriptor) method instead")]
public void RefreshItemAppearance(
    View view,
    string itemType,
    string itemName,
    object item,
    object contextObject,
    EvaluatorContextDescriptor evaluatorContextDescriptor
)
<Obsolete("Use the RefreshItemAppearance(IViewInfo view, string itemType, string itemName, object item, object contextObject, EvaluatorContextDescriptor evaluatorContextDescriptor) method instead")>
Public Sub RefreshItemAppearance(
    view As View,
    itemType As String,
    itemName As String,
    item As Object,
    contextObject As Object,
    evaluatorContextDescriptor As EvaluatorContextDescriptor
)

Parameters

Type Name Description
View view

A View object that is the View in which the target UI element (View Item, Layout Item or Group) is contained. If the target UI element is an Action, this View is the one for which it is activated.

String itemType

A string that is the type of the target UI element whose conditional appearance is about to be refreshed.

String itemName

A string that is the identifier of the UI element whose conditional appearance is about to be refreshed.

Object item

An UI element whose conditional appearance is about to be refreshed by applying the appropriate rules.

Object contextObject

An object that contains the properties whose controls or layout items are about to be refreshed by applying the appropriate rules. When the target item is an Action, the selected object(s) is passed as this parameter.

DevExpress.Data.Filtering.Helpers.EvaluatorContextDescriptor evaluatorContextDescriptor

An EvaluatorContextDescriptor object that is a context descriptor used for checking whether the context object passed as the contextObject parameter satisfies the criteria specified by a rule's IAppearanceRuleProperties.Criteria property.

For details, refer to the other method overload description.

When null is passed as the evaluatorContextDescriptor parameter, a default context descriptor is used.

See Also