Skip to main content
.NET Framework 4.6.2+

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

OBSOLETE

Use the RefreshItemAppearance method instead

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.v24.2.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
)

Parameters

Name Type 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.

itemType String

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

itemName String

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

item Object

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

contextObject Object

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.

evaluatorContextDescriptor DevExpress.Data.Filtering.Helpers.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.

Remarks

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