AppearanceController Methods

Name Description
AppearanceBeginUpdate()

Prevents the AppearanceController from being updated until the AppearanceController.AppearanceEndUpdate method is called.

AppearanceEndUpdate()

Unlocks the AppearanceController after a call to the AppearanceController.AppearanceBeginUpdate method and resets the rules cache.

Clone(IModelApplication)

Clones a Controller.

(Inherited from Controller)
Create(Type)

Instantiates a Controller object of the specified type and raises it's Controller.AfterConstruction event.

(Inherited from Controller)
CustomizeTypesInfo(ITypesInfo)

Customizes business class metadata before loading it to the Application Model's BOModel node.

(Inherited from Controller)
GetRulesFromModel(IModelClass)

Returns the list of appearance rules declared in the specified IModelClass node.

Refresh()

Refreshes the conditional appearance provided by the Controllers registered in the Appearance Controller.

RefreshItemAppearance(IViewInfo, String, String, Object, Object, EvaluatorContextDescriptor)

Collects and applies the conditional appearance rules appropriate for the specified UI element with a context descriptor specified.

RefreshItemAppearance(IViewInfo, String, String, Object, Object[], EvaluatorContextDescriptor)

Collects and applies the conditional appearance rules appropriate for the specified UI element with a context descriptor specified.

RefreshItemAppearance(View, String, String, Object, Object)

Collects and applies the conditional appearance rules appropriate for the specified UI element.

RefreshItemAppearance(View, String, String, Object, Object, EvaluatorContextDescriptor)

Obsolete. Collects and applies the conditional appearance rules appropriate for the specified UI element with a context descriptor specified.

RefreshItemAppearance(View, String, String, Object, Object[], EvaluatorContextDescriptor)

Obsolete. Collects and applies the conditional appearance rules appropriate for the specified UI element with a context descriptor specified.

RegisterController(ISupportRefreshItemsAppearance)

Registers a Controller to refresh the conditional appearance of its UI elements in common scenarios.

ResetRulesCache()

Resets the cache of the rules collected by the Appearance Controller at the current moment.

SetView(View)

Sets a specified View for a View Controller.

(Inherited from ViewController)
UnRegisterController(ISupportRefreshItemsAppearance)

Removes a Controller from the list of registered Controllers.