.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>) Constructor

Obsolete. Initializes a new instance of the ApplyAppearanceEventArgs class.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

Assembly: DevExpress.ExpressApp.ConditionalAppearance.v20.1.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
)
<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 Sub New(
    appearanceObject As AppearanceObject,
    itemType As String,
    itemName As String,
    item As Object,
    contextObjects As Object(),
    evaluatorContextDescriptor As EvaluatorContextDescriptor,
    appearanceItems As List(Of IConditionalAppearanceItem)
)

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 UI element whose conditional appearance is about to be refreshed by applying the appropriate rules.

contextObjects 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 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.

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