Skip to main content
.NET 8.0+

ApplyAppearanceEventArgs(AppearanceObject, String, String, Object, Object[], EvaluatorContextDescriptor, List<IConditionalAppearanceItem>, View) Constructor

OBSOLETE

Use the 'ApplyAppearanceEventArgs(AppearanceObject appearanceObject, string itemType, string itemName, object item, object[] contextObjects, EvaluatorContextDescriptor evaluatorContextDescriptor, List<IConditionalAppearanceItem> appearanceItems, ViewInfo view)' method instead

Initializes a new instance of the ApplyAppearanceEventArgs class.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

Assembly: DevExpress.ExpressApp.ConditionalAppearance.v24.2.dll

Declaration

[Obsolete("Use the 'ApplyAppearanceEventArgs(AppearanceObject appearanceObject, string itemType, string itemName, object item, object[] contextObjects, EvaluatorContextDescriptor evaluatorContextDescriptor, List<IConditionalAppearanceItem> appearanceItems, ViewInfo view)' method instead", true)]
public ApplyAppearanceEventArgs(
    AppearanceObject appearanceObject,
    string itemType,
    string itemName,
    object item,
    object[] contextObjects,
    EvaluatorContextDescriptor evaluatorContextDescriptor,
    List<IConditionalAppearanceItem> appearanceItems,
    View view
)

Parameters

Name Type Description
appearanceObject AppearanceObject

An AppearanceObject representing the appearance applied.

itemType String

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

itemName String

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

item Object

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

contextObjects Object[]

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

evaluatorContextDescriptor DevExpress.Data.Filtering.Helpers.EvaluatorContextDescriptor

An EvaluatorContextDescriptor object that is used to supply metadata on the specified type to the ExpressionEvaluator objects.

appearanceItems List<DevExpress.ExpressApp.ConditionalAppearance.IConditionalAppearanceItem>

A List<IConditionalAppearanceItem> list of resulting items that were calculated by each appearance rule.

view View

A View object that is the current View.

Remarks

Since instances of the ApplyAppearanceEventArgs class are automatically created and passed to handlers of the AppearanceController.CustomApplyAppearance and AppearanceController.AppearanceApplied events, you do not need to call this constructor from your applications.

See Also