Form Class Members

Public Constructors

Form Constructor Initializes a new instance of the Form class.

Public Events

Activate Event Occurs when a form becomes active.
DataBinding Event (inherited from Control) Inherited from .NET Framework.
Deactivate Event Occurs when an active form becomes inactive.
Disposed Event (inherited from Control) Inherited from .NET Framework.
Init Event (inherited from Control) Inherited from .NET Framework.
Load Event (inherited from Control) Occurs when a control is custom paginated and needs more data.
Paginated Event Occurs when a form is paginated, not only when the page index changes.
PreRender Event (inherited from Control) Inherited from .NET Framework.
Unload Event (inherited from Control) Inherited from .NET Framework.

Public Methods

AddLinkedForms Method (inherited from MobileControl) Adds, to the list provided, the set of forms that contains links to the specified control.
CreateDefaultTemplatedUI Method (inherited from MobileControl) Called by device adapters to create the default templated UI for the control.
DataBind Method (inherited from Control) Binds the field of the specified item to its corresponding data. Called internally by ASP.NET.
Dispose Method (inherited from Control) Inherited from .NET Framework.
EnsureTemplatedUI Method (inherited from MobileControl) Use this method to ensure that the templates are instantiated to allow programmatically access to the instantiated contents of a template.
Equals Method (inherited from Object) Used internally by ASP.NET.
GetHashCode Method (inherited from Object) Used internally by ASP.NET. Not intended for use by client applications.
GetLinkedForms Method Returns the set of forms that is linked to the current form.
GetTemplate Method (inherited from MobileControl) Returns the template with the specified name.
GetType Method (inherited from Object) Inherited from .NET Framework.
HasActivateHandler Method Returns true if the form has a handler for the Activate event.
HasControls Method (inherited from Control) Inherited from .NET Framework.
HasDeactivateHandler Method Returns true if the Deactivate event exists.
IsVisibleOnPage Method (inherited from MobileControl) Returns whether the control is visible on the given page of the form. Used for form pagination.
LoadPrivateViewState Method (inherited from MobileControl) Loads private view state. The state passed in can be null. Controls can override this method to load private view state stored by overriding SavePrivateViewState.
OnInit Method (inherited from Control) Inherited from .NET Framework.
OnPreRender Method (inherited from Control) Called by the control's OnPreRender method, to perform adapter-specific work prior to rendering.
PaginateRecursive Method (inherited from MobileControl) Paginates the control and its children. Called internally by ASP.NET.
Render Method (inherited from Control) Called by the control's OnPreRender method, to perform adapter-specific work prior to rendering.
RenderChildren Method (inherited from MobileControl) Renders children of the control.
RenderControl Method (inherited from Control) Inherited from .NET Framework.
ResolveFormReference Method (inherited from MobileControl) Returns the form object referenced by the name parameter.
ResolveUrl Method (inherited from MobileControl) Controls and adapters can call the ResolveUrl method on a MobileControl to resolve a URL relative to the directory of the page or user control that contains the control.
SavePrivateViewState Method (inherited from MobileControl) Saves any private view state changes that have occurred since the page was loaded from persistence. If no changes were made, this method returns null.
SetRenderMethodDelegate Method (inherited from Control) Inherited from .NET Framework.
ToString Method (inherited from Object) Inherited from .NET Framework.

Protected Methods

AddedControl Method (inherited from Control) Inherited from .NET Framework.
AddParsedSubObject Method (inherited from Control) Inherited from .NET Framework.
BuildProfileTree Method (inherited from Control) Inherited from .NET Framework.
ClearChildViewState Method (inherited from Control) Inherited from .NET Framework.
CreateChildControls Method (inherited from Control) Inherited from .NET Framework.
CreateControlCollection Method (inherited from Control) Inherited from .NET Framework.
CreateStyle Method (inherited from MobileControl) Constructs and returns the style object to be associated with the control. Inheriting classes can override this method to return a more specific style class.
CreateTemplatedUI Method (inherited from MobileControl) Called by base classes to create a templated UI.
EnsureChildControls Method (inherited from Control) Inherited from .NET Framework.
Finalize Method (inherited from Object) Inherited from .NET Framework.
FindControl Method (inherited from Control) Inherited from .NET Framework.
IsFormSubmitControl Method (inherited from MobileControl) Returns true if the control submits the form. The default is false.
IsLiteralContent Method (inherited from Control) Inherited from .NET Framework.
LoadViewState Method (inherited from Control) Inherited from .NET Framework.
MapPathSecure Method (inherited from Control) Inherited from .NET Framework.
MemberwiseClone Method (inherited from Object) Inherited from .NET Framework.
OnActivate Method Called when the form is activated.
OnBubbleEvent Method (inherited from Control) Inherited from .NET Framework.
OnDataBinding Method (inherited from Control) Inherited from .NET Framework.
OnDeactivate Method Called when the form is activated.
OnLoad Method (inherited from Control) Called when the control is custom paginated and needs more data.
OnPageChange Method (inherited from MobileControl) No topic is available for this item.
OnPaginated Method Occurs when a form is paginated.
OnRender Method (inherited from MobileControl) No topic is available for this item.
OnUnload Method (inherited from Control) Inherited from .NET Framework.
RaiseBubbleEvent Method (inherited from Control) Inherited from .NET Framework.
RemovedControl Method (inherited from Control) Inherited from .NET Framework.
SaveViewState Method (inherited from Control) Inherited from .NET Framework.
TrackViewState Method (inherited from Control) Inherited from .NET Framework.

Public Properties

Action Property Sets or returns the URL to which the form should be submitted. The default value is an empty string ("").
Adapter Property (inherited from MobileControl) No topic is available for this item.
Alignment Property (inherited from MobileControl) Sets or returns the specified alignment for the style.
BackColor Property (inherited from MobileControl) Sets or returns the specified background color for the style. The default value is null.
BindingContainer Property (inherited from Control) Inherited from .NET Framework.
BreakAfter Property (inherited from MobileControl) Returns or sets a property that determines whether an additional trailing break is rendered after the control. This break results in subsequent content starting on the next line. The default is true.
ClientID Property (inherited from Control) Inherited from .NET Framework.
Content Property (inherited from Panel) Returns the panel containing device-specific panel content. A content template must be defined and chosen for the target device.
Controls Property (inherited from Control) Inherited from .NET Framework.
ControlToPaginate Property Returns or sets the control on the form that can be paginated. The default is null.
CurrentPage Property Sets or returns the index of the current page in the paginated form. The default value is 0.
CustomAttributes Property (inherited from MobileControl) Sets or returns whether controls on the page can have custom attributes defined. The default value is the value of the allowCustomAttributes attribute of the <mobilecontrols> section of web.config.
DeviceSpecific Property (inherited from MobileControl) Sets or returns the DeviceSpecific/Choice construct associated with the control. The accessor returns null if no such construct exists.
EnableViewState Property (inherited from Control) Inherited from .NET Framework.
FirstPage Property (inherited from MobileControl) Returns the first page of the form on which this control appears.
Font Property (inherited from MobileControl) Returns true if the device supports the ForColor property for text. The default is true.
Footer Property Returns the panel containing the footer for the specified form. A footer must be defined as a template and chosen for the target device.
ForeColor Property (inherited from MobileControl) Sets or returns the specified foreground color for the style. Typically, this property sets the color for the text. The default value is null.
Form Property (inherited from MobileControl) Sets or returns the page's currently active form.
Header Property Returns the panel containing the form header. A header must be defined as a template and chosen for the target device.
ID Property (inherited from Control) Returns true if the specified control causes server-side validation to occur on data controls on the same form. The default value is true.
IsTemplated Property (inherited from MobileControl) Returns whether the object has an active template set.
LastPage Property (inherited from MobileControl) Returns the last page of the form on which the specified control is displayed.
Method Property Inherited.
MobilePage Property (inherited from MobileControl) Returns the containing page.
NamingContainer Property (inherited from Control) Inherited from .NET Framework.
Page Property (inherited from Control) Sets or returns the index of the current page in the paginated form. The default value is 0.
PageCount Property Inherited.
PagerStyle Property Sets or returns the style used to render the form's pagination UI. The default value is an empty string ("").
Paginate Property (inherited from Panel) Returns or sets the control on the form that can be paginated. The default is null.
PaginateChildren Property (inherited from MobileControl) Returns whether the children of the control must be paginated. Used for form pagination.
Parent Property (inherited from Control) Inherited from .NET Framework.
Script Property Returns the panel that contains any device-specific script for the form, if a script template has been defined and chosen for the target device.
Site Property (inherited from Control) Inherited from .NET Framework.
StyleReference Property (inherited from MobileControl) Sets or returns a reference to the style properties for a control. The value of the StyleReference property must be the Name property of a Style object.
TemplateSourceDirectory Property (inherited from Control) Inherited from .NET Framework.
Title Property  
UniqueID Property (inherited from Control) Inherited from .NET Framework.
Visible Property (inherited from Control) Returns the first item visible on the current form page.
VisibleWeight Property (inherited from MobileControl) Returns the approximate weight of the control, in characters.
Wrapping Property (inherited from MobileControl) Sets or returns the specified wrapping mode for the style. The default value is NotSet.

Protected Properties

ChildControlsCreated Property (inherited from Control) Inherited from .NET Framework.
Context Property (inherited from Control) Inherited from .NET Framework.
Events Property (inherited from Control) Returns the key to use to submit the event source.
HasChildViewState Property (inherited from Control) Inherited from .NET Framework.
InnerText Property (inherited from MobileControl) Returns the text inside the control. The inner text might be a combination of text from child controls.
IsTrackingViewState Property (inherited from Control) Inherited from .NET Framework.
ViewState Property (inherited from Control) Returns the view state information — which combines private view state and an identifier for application view state — to write to the client in encoded form.
ViewStateIgnoresCase Property (inherited from Control) Inherited from .NET Framework.

See Also

Form Class