.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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

Initializes a new instance of the ApplyAppearanceEventArgs class.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

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

Declaration

public ApplyAppearanceEventArgs(
    AppearanceObject appearanceObject,
    string itemType,
    string itemName,
    object item,
    object[] contextObjects,
    EvaluatorContextDescriptor evaluatorContextDescriptor,
    List<IConditionalAppearanceItem> appearanceItems,
    IViewInfo 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 DevExpress.ExpressApp.Editors.IViewInfo

Gets the IViewInfo object that provides information related to 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