Skip to main content
.NET Framework 4.6.2+

DialogController Members

Represents a WindowController descendant that contains Actions for pop-up Windows.

Constructors

Name Description
DialogController() Creates an instance of the DialogController class.

Fields

Name Description
ControllerActiveKey static 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 static 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 Returns 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.
CancelAction Provides access to the current Dialog Controller’s Cancel Action.
CanCloseWindow Specifies whether to close the current pop-up Window when executing the Dialog Controller’s DialogController.AcceptAction or DialogController.CancelAction.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
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.
Container Gets the IContainer that contains the Component. Inherited from Component.
Controllers For internal use only.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
Frame Provides access to a Controller‘s Frame. Inherited from Controller.
IsDisposing 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.
Site Gets or sets the ISite of the Component. Inherited from Component.
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, IServiceProvider, View) Inherited from Controller.
Clone(IModelApplication, IServiceProvider) Clones a Controller. Inherited from Controller.
Create(Type, IServiceProvider) static Instantiates a Controller object of the specified type and raises its 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.
Dispose() Releases all resources used by the Component. Inherited from Component.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetService(Type) protected Returns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType() Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SetWindow(Window) Sets a specified Window for a Window Controller. Inherited from WindowController.
ToString() Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.

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.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
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.
See Also