ApplyAppearanceEventArgs(AppearanceObject, String, String, Object, Object[], EvaluatorContextDescriptor, List<IConditionalAppearanceItem>) 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.1.dll
NuGet Package: DevExpress.ExpressApp.ConditionalAppearance
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
)
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.