A UI element whose appearance is about to be refreshed by applying the appropriate conditional appearance rules.
An object representing a UI element to which a conditional appearance is currently applied.
Use this property to access the UI element whose appearance is currently refreshed. To specify the name and type of this element, use the ApplyAppearanceEventArgs.ItemName and ApplyAppearanceEventArgs.ItemType properties.
To change the appearance of the item specified by this property, cast it by one of the following interfaces and use their properties and methods:
Allows you to set the back color, font color and font style of the UI element supporting this interface.
Allows you to disable/enable the UI element supporting this interface.
Allows you to hide/show the UI element supporting this interface.
If these interfaces do not provide the required appearance settings, use the item’s properties directly. To learn which items can be affected by the AppearanceController, see the AppearanceController.CustomApplyAppearance event description.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Item property.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.