Skip to main content
.NET 6.0+

WinApplication Properties

Manages a WinForms XAF application.
Name Description
ApplicationName Specifies the application’s name. Inherited from XafApplication.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
CheckCompatibilityType Specifies how the database and application compatibility is checked. Inherited from XafApplication.
Connection Specifies the connection to the database used by the application. Inherited from XafApplication.
ConnectionString Specifies the connection string used to connect to the application’s database or to the Application Server. Inherited from XafApplication.
Container Gets the IContainer that contains the Component. Inherited from Component.
CurrentAspectProvider Returns an ICurrentAspectProvider object that supplies culture-specific information. Inherited from XafApplication.
DatabaseUpdateMode Specifies the database update mode. Inherited from XafApplication.
DefaultCollectionSourceMode Specifies the default mode of operation for Collection Sources created by the XafApplication. Inherited from XafApplication.
DelayedViewItemsInitialization Indicates whether View Items controls are initialized immediately when a View is created. Inherited from XafApplication.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
DesignTimeConnectionString static For internal use. Inherited from XafApplication.
EditorFactory 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. Inherited from XafApplication.
EnableModelCache Specifies if the Application Model cache designed to improve the startup speed and performance is enabled. Inherited from XafApplication.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
FrameTemplateFactory Specifies the IFrameTemplateFactory object that provides Templates for a Windows Forms application.
IgnoredExceptions Returns a collection of exceptions that are not to be reported by the application. Inherited from XafApplication.
IgnoreUserModelDiffs Specifies if the user model differences are ignored.
IsApplicationUpdated
IsConnectionOwner For internal use only. Inherited from XafApplication.
IsDelayedDetailViewDataLoadingEnabled For internal use. Use the DetailView.UseAsyncLoading field instead of this property.
IsLoading Indicates whether the application component is currently being initialized. Inherited from XafApplication.
LinkNewObjectToParentImmediately Specifies whether or not a link between a master and child object is created immediately when the NewObjectViewController.NewObjectAction is executed in a nested List View with a non-aggregated collection. Inherited from XafApplication.
MainWindow Gets the application’s main Window.
MaxLogonAttemptCount Specifies the allowed number of failed login attempts before the application closes. Inherited from XafApplication.
Messaging static Specifies the Messaging object, used by the Windows Forms application to display message boxes.
Model Provides access to the Application Model‘s root node. Inherited from XafApplication.
ModelDifferenceFilePath Specifies a path to the directory where the model differences file (Model.xafml) reside.
Modules Provides access to the module list used by the application. Inherited from XafApplication.
ObjectSpaceProvider Provides access to the application’s Object Space Provider. Inherited from XafApplication.
ObjectSpaceProviderContainer Inherited from XafApplication.
ObjectSpaceProviders Gets a list of Object Space Providers used by XafApplication. Inherited from XafApplication.
OptimizeControllersCreationInMasterDetailMode For internal use. Inherited from XafApplication.
OptimizedControllersCreation Disables the instantiation of Controllers that will never be activated in nested List Views. Inherited from XafApplication.
PreventInitializeUserModelDiffsPath
ResourcesExportedToModel Provides access to a collection of Resource Localizers used in the current application to extend the Application Model’s IModelLocalization node. Inherited from XafApplication.
RunSetupInNewThread Manages startup. Refer to the WinApplication.Setup method runs in a separate thread breaking change description for more information.
Security Provides access to the Security Strategy used in the application. Inherited from XafApplication.
ServiceProvider Provides access to IServiceProvider. Inherited from XafApplication.
ShowViewStrategy Specifies the Show View Strategy used in a Windows Forms application.
Site For internal use only. Inherited from XafApplication.
SplashScreen Specifies the splash screen displayed when a Windows Forms application starts.
TablePrefixes For internal use. Inherited from XafApplication.
Title Specifies the application’s title. Inherited from XafApplication.
TypesInfo Gets the ITypesInfo object that supplies metadata on types used in an XAF application. Inherited from XafApplication.
UseLightStyle Enables the Light Style in a WinForms application.
UseOldTemplates Replaces old templates (MainForm and DetailForm) with new templates in WinForms applications (v14.2+).
UserModelDifferenceFilePath Specifies the path to the user model differences file.
UseSkinSelector For internal use.
See Also