DialogController Members

Constructors

Name Description
DialogController()

Creates an instance of the DialogController class.

Fields

Name Description
ControllerActiveKey

Specifies one of the keys from the ActionBase.Active collection of a Controller's Controller.Actions. By default, this field value is "Controller active". You can use this field when working with the ActionBase.Active collection.

(Inherited from Controller)
DialogActionContainerName

Specifies the name of the Action Container that displays the Dialog Controller's DialogController.AcceptAction and DialogController.CancelAction.

DialogCancelActionId

Returns the DialogController.CancelAction's ID. Its value is set for the ID property of the Application Model's ActionDesign | Actions | <Action> node. The default value is "DialogCancel".

DialogOkActionId

Returns the DialogController.AcceptAction's ID. Its value is set for the ID property of the Application Model's ActionDesign | Actions | <Action> node. The default value is "DialogOK".

WindowIsAssignedReason

Specifies the Controller.Active list's reason that indicates whether a Window is assigned to the current WindowController.

(Inherited from WindowController)

Properties

Name Description
AcceptAction

Provides access to the current Dialog Controller's DialogOKAction.

Actions

Provides access to a Controller's Action collection.

(Inherited from Controller)
Active

Provides access to a collection of reason/value pairs used to activate or deactivate a Controller, or determine its active state.

(Inherited from Controller)
Application

Provides access to an XafApplication object that can be used to manage the current application.

(Inherited from Controller)
CanCloseWindow

Specifies whether to close the current pop-up Window when executing the Dialog Controller's DialogController.AcceptAction or DialogController.CancelAction.

CancelAction

Provides access to the current Dialog Controller's Cancel Action.

CloseAction

Provides access to the current DialogController's Close Action.

CloseOnCurrentObjectProcessing

Specifies whether or not the dialog is closed when a row in the List Editor is clicked.

Controllers

For internal use only.

Frame

Provides access to a Controller's Frame.

(Inherited from Controller)
Name

Returns a full name of a Controller's type.

(Inherited from Controller)
SaveOnAccept

Specifies whether to save changes made to the object represented by the current pop-up Window's Detail View when executing the DialogController.AcceptAction.

Tag

Provides access to the object that contains data about the Controller.

(Inherited from Controller)
TargetWindowType

Specifies the kind of the Window for which a Window Controller is intended.

(Inherited from WindowController)
Window

Provides access to a Window Controller's Window.

(Inherited from WindowController)

Methods

Name Description
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)
SetWindow(Window)

Sets a specified Window for a Window Controller.

(Inherited from WindowController)

Events

Name Description
Accepting

Occurs when executing the current Dialog Controller's DialogController.AcceptAction.

Activated

Occurs when a Controller is activated.

(Inherited from Controller)
AfterConstruction

Occurs after a Controller is created.

(Inherited from Controller)
Cancelling

Occurs when executing the current Dialog Controller's DialogController.CancelAction.

Deactivated

Occurs after a Controller has been deactivated.

(Inherited from Controller)
FrameAssigned

Occurs after a Frame (Window) has been assigned to a Controller.

(Inherited from Controller)
ViewClosed

Occurs after closing the View of the Window Controller's Window.

(Inherited from WindowController)
ViewClosing

Occurs before closing the View of the Window Controller's Window.

(Inherited from WindowController)
ViewQueryCanClose

Occurs when checking whether the View of the Window Controller's Window is allowed to be closed.

(Inherited from WindowController)
WindowTemplateChanged

Occurs after setting a Template for the Dialog Controller's pop-up Window.