OnInit Method (Common)

Called after an object, such as a form or a page, is initialized.

public virtual void OnInit(
   EventArgs e
)

Parameters

  • e
    An object (defined by EventArgs) that contains event data.

Remarks

You can override this method to set device-specific properties. Inheriting classes can override this method to perform other tasks. If this method is overridden in an inheriting class, you must call the base implementation.

See Also

Applies to: All Adapters | BaseValidator Class | ErrorFormatterPage Class | Form Class | MobileControl Class | MobilePage Class | Panel Class | Image Class | List Class