Edit

Share via


LoadingEventArgs Class

Definition

Provides data for the Loading event.

public ref class LoadingEventArgs abstract : EventArgs
public abstract class LoadingEventArgs : EventArgs
type LoadingEventArgs = class
    inherit EventArgs
Public MustInherit Class LoadingEventArgs
Inherits EventArgs
Inheritance
LoadingEventArgs

Remarks

The LoadingEventArgs class provides the CancelableArgs property for canceling the event, and the InputParameters property for working with input parameters specified from the command-line, from query parameters in a URL when opening the form from a browser, or when using Microsoft.Office.InfoPath.XmlFormCollection.NewFromFormTemplateWithInputParameters method of the XmlFormCollection, or the NewFromSolutionWithInputParameters(Object, Object) method of the XDocumentsCollection from external automation. It also provides the SetDefaultView method for specifying the default view when opening the form.

Constructors

LoadingEventArgs()

Properties

CancelableArgs

Gets a reference to the XmlFormCancelEventArgs object.

InputParameters

Gets an IDictionary that contains any input parameters specified by using the /InputParameters command-line option, query parameters in a URL, or the one of the NewFromFormTemplateWithInputParameters methods.

Methods

SetDefaultView(String)

Sets the default view of the form by specifying the name of the view.

SetDefaultView(ViewInfo)

Sets the default view of the form by specifying a ViewInfo object.

Applies to