XafApplication Members
In This Article
#Constructors
Name | Description |
---|---|
Xaf |
Creates an instance of the Xaf |
Xaf |
Creates an instance of the Xaf |
#Fields
Name | Description |
---|---|
Confirmations | Gets the name on the Localization node’s child node that provides access to the localizable confirmations texts. |
Current |
For internal use only. |
Model |
The name of the configuration file key, which specifies the Application Model cache file location (see Xaf |
Options |
For internal use only. |
Table |
For internal use. |
Trace |
Specifies the setting in the configuration file’s app |
Xaf |
Specifies a string identifier for exceptions occurred while logging on to the application. |
#Properties
Name | Description |
---|---|
Application |
|
Application |
Specifies the application’s name. |
Can |
Gets a value indicating whether the component can raise an event. Inherited from Component. |
Check |
Specifies how the database and application compatibility is checked. |
Connection | Specifies the connection to the database used by the application. |
Connection |
Specifies the connection string used to connect to the application’s database or to the Application Server. |
Container | Gets the IContainer that contains the Component. Inherited from Component. |
Current |
Returns an ICurrent |
Database |
Specifies the database update mode. |
Default |
Specifies the default mode of operation for Collection Sources created by the Xaf |
Delayed |
Indicates whether View Items controls are initialized immediately when a View is created. |
Design |
Gets a value that indicates whether the Component is currently in design mode. Inherited from Component. |
Design |
For internal use. |
Editor |
Provides access to the application’s Editors Factory, which is used to load View Items and List Editors to the Application Model and create them when needed. |
Enable |
Specifies if the Application Model cache designed to improve the startup speed and performance is enabled. |
Events protected | Gets the list of event handlers that are attached to this Component. Inherited from Component. |
Ignored |
Returns a collection of exceptions that are not to be reported by the application. |
Is |
For internal use only. |
Is |
For internal use. Use the Detail |
Is |
Indicates whether the application component is currently being initialized. |
Link |
Specifies whether or not a link between a master and child object is created immediately when the New |
Main |
Provides access to the application’s main Window. |
Max |
Specifies the allowed number of failed login attempts before the application closes. |
Model | Provides access to the Application Model‘s root node. |
Modules | Provides access to the module list used by the application. |
Object |
Provides access to the application’s Object Space Provider. |
Object |
|
Object |
Gets a list of Object Space Providers used by Xaf |
Optimize |
For internal use. |
Optimized |
Disables the instantiation of Controllers that will never be activated in nested List Views. |
Resources |
Provides access to a collection of Resource Localizers used in the current application to extend the Application Model’s IModel |
Security | Provides access to the Security Strategy used in the application. |
Service |
Provides access to IService |
Show |
Specifies the application’s Show View Strategy. |
Site | For internal use only. |
Table |
For internal use. |
Title | Specifies the application’s title. |
Types |
Gets the ITypes |
#Methods
Name | Description |
---|---|
Ask |
Requests an end-user confirmation. |
Begin |
Starts the Xaf |
Check |
Checks whether the application and database are compatible, and if not, tries to make them compatible. |
Create |
Creates a Collection Source for a specific List View. |
Create |
Creates a Collection Source for a specific List View. |
Create |
Creates a Collection Source for a specific List View. |
Create |
Creates a collection source for a specified List View. |
Create |
Creates a Controller of a specified type. If there is a Controller of the same type, assigns its settings to the new Controller. |
Create |
Creates a Dashboard View using information from the Application Model‘s Views | Dashboard |
Create |
Creates a Database Updater for a specified Object Space Provider. |
Create |
Creates a Detail View for the specified object with settings from the Application Model‘s Views | Detail |
Create |
Creates a Detail View based on information from the Application Model‘s Views | Detail |
Create |
Creates a Detail View for a specified object based on information on the source View. |
Create |
Creates a Detail |
Create |
Creates a Detail View based on information specified in the Application Model for the type of the specified object. |
Create |
For internal use. |
Create |
Creates a Detail View for the specified object based on the information from the Application Model‘s Views | Detail |
Create |
Creates a Detail View based on information from the Application Model‘s Views | Detail |
Create |
For internal use only. Use the Create |
Create |
For internal use. We recommend to use the Create |
Create |
|
Create |
|
Create |
Creates a new Frame. |
Create |
Creates a Layout Manager. |
Create |
Creates the List Editor which is specified in the appropriate Application Model node. |
Create |
Creates a List View used for the objects of the specified type, by default. |
Create |
For internal use. |
Create |
Creates a List View based on the information from the Application Model‘s node specified by the model |
Create |
Creates a List View based on information from the Application Model‘s Views | View node specified by the list |
Create |
Creates a List View used for the objects of the specified type, by default. |
Create |
|
Create |
|
Create |
Creates nested Object Space. |
Create |
Creates an object of the type designated by the generic type parameter. |
Create |
Creates an Object Space. Use this method overload if your application registers only one Object |
Create |
Creates an Object Space that supports a specific object type. Use this method overload if your application registers several Object |
Create |
Creates an Object Space of the specified type. |
Create |
Creates a new pop-up Window. |
Create |
|
Create |
Creates a new pop-up Window. |
Create |
Creates a Collection Source for a nested List View that displays a collection property. |
Create |
Creates a Collection Source for a nested List View that displays a collection property. |
Create |
Creates a Collection Source for a nested List View that displays a collection property. |
Create |
Creates a Collection Source for a nested List View that displays a collection property. |
Create |
For internal use only. |
Create |
|
Create |
Creates a new Window. |
Create |
Creates a new Window. |
Dispose() | Releases all resources used by the Component. Inherited from Component. |
Dispose |
|
End |
Ends the Xaf |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Exit() | Finishes runing the application. |
Find |
Returns the ID of the Detail View which must be used for a specific object, when invoked from the source View. |
Find |
Returns the ID of the Detail View which is used for objects of a specified type by default. |
Find |
Returns the ID of the List View which is used for objects of a specified type by default. |
Find |
Returnes the ID of the Lookup List View which is used for objects of a specified type by default. |
Find |
Returns the Application Model‘s IModel |
Find |
Provides access the Application Model node that defines a specified View. |
Get |
For internal use only. |
Get |
Returns the ID of the Detail View which is used for objects of a specified type by default, and raises an exception if the appropriate View ID is not found. |
Get |
Gets the model differences file name |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
Inherited from Marshal |
Get |
Returns the ID of the List View which is used for objects of a specified type by default, and raises the ‘Cannot |
Get |
For internal use. |
Get |
Returns an Object Space in which a Detail View should be created to be displayed via the Show |
Get |
Returns an Object Space in which a Detail View should be created to be displayed via the Show |
Get |
Returns an object that represents a service provided by the Component or by its Container. Inherited from Component. |
Get |
Returns the Application Model node where settings of a specified Template are stored. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Initialize |
Obtains a lifetime service object to control the lifetime policy for this instance.
Inherited from Marshal |
Log |
Performs the application logout. |
Logon() | Performs the logon. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Memberwise |
Creates a shallow copy of the current Marshal |
Process |
Creates a View by a specified shortcut. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Save |
Saves the changes made by an end-user, up to the current moment, to the differences storage. |
Set |
Sets the specified formatting culture for the current application. |
Set |
Sets the specified language for the current application when called before the application windows are shown. |
Setup() |
Initializes the newly created Xaf |
Setup |
Initializes the newly created Xaf |
Setup |
Initializes the newly created Xaf |
Setup |
Initializes the newly created Xaf |
Setup |
Initializes the newly created Xaf |
Setup |
Initializes the newly created Xaf |
Setup |
Initializes the newly created Xaf |
Setup |
Initializes the newly created Xaf |
Setup |
Initializes the newly created Xaf |
Show |
Indicates whether a Views invoked from the specified Frame can be displayed in a new Window. |
To |
Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component. |
Update |
Triggers the Xaf |
#Events
Name | Description |
---|---|
Create |
Occurs when creating a Collection Source for a List View. |
Create |
Occurs when a storage for device-specific model differences is being created. |
Create |
|
Create |
Occurs both when reading and writing the last logon parameters, before creating the logon parameters storage. |
Create |
Occurs when creating Controllers for a Logon Window. |
Create |
Occurs when creating an Object Space for a Logon Window’s Detail View. |
Create |
Occurs when the object used to manage saving and loading the Application Model cache is created. |
Create |
This event is intended for internal use. Handle the Xaf |
Create |
Occurs when a storage for model differences is being created. |
Create |
Occurs when setting up the application. |
Create |
Occurs when creating a Collection Source for a nested List View that displays a collection property. |
Create |
Occurs when creating a Template. |
Create |
Occurs when a storage for end-user model differences is being created. |
Custom |
Occurs when trying to access the application’s database (when logging on or creating an Object Space). |
Custom |
For internal use. |
Customize |
Occurs after a formatting culture has been set internally. |
Customize |
Occurs after a language has been set for the application internally. |
Customize |
Occurs when setting up the application. |
Customize |
For internal use. |
Customize |
Occurs after a Template has been created. |
Custom |
Occurs when a View is created by its shortcut. |
Dashboard |
Occurs after a Dashboard View has been created. |
Dashboard |
Occurs when creating a Dashboard View. |
Database |
Occurs when creating a database updater. |
Database |
Occurs when the application being run calls the database. |
Detail |
Occurs after a Detail View has been created. |
Detail |
Occurs when creating a Detail View. |
Disposed | Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component. |
Frame |
|
Handle |
For internal use only. |
Last |
Occurs after loading the last logon parameters from the settings storage to the logon object. |
Last |
Occurs before loading the last logon parameters from the settings storage to the logon object. |
Last |
Occurs before saving the logon Window‘s logon parameters to the settings storage. |
List |
Occurs after a List View is created. |
List |
Occurs when creating a List View. |
Logged |
Occurs after an end-user has logged off. |
Logged |
Occurs after an end-user has logged on. |
Logging |
Occurs when a user clicks the Log Off button or the ASP. |
Logging |
Occurs when the Logon button on the logon Window is clicked. |
Logon |
Occurs when the logon fails. |
Model |
Occurs when the Application Model instance returned by the Xaf |
Object |
Occurs after an Object Space has been created via the Xaf |
On |
|
Property |
Occurs when the Xaf |
Setting |
Occurs before initializing the Xaf |
Setup |
Occurs after the Xaf |
Show |
Occurs when the Xaf |
Status |
Occurs when the Xaf |
User |
Occurs after the user-defined Application Model differences are loaded. |
View |
Occurs after a View has been created. |
View |
Occurs when creating a View. |
View |
Occurs before showing a View. |
View |
Occurs after a View is shown. |
See Also