Skip to content

PictureBox

ProGraMajster edited this page Mar 28, 2026 · 1 revision

PictureBox

← Back to Control Inventory

Summary

Represents a PictureBox control.

Example

var pictureBox = new PictureBox
{
    Size = new Size(128, 128)
};

Documented Properties

Name Summary
DefaultSize No XML summary yet.
Image Gets or sets the image the PictureBox should display.
ImageLocation Gets or sets the path or URL of the image the PictureBox should display.
IsErrored Gets a value indicating the requested image could not be loaded.
SizeMode Gets or sets a value indicated the sizing mode used.

Documented Methods

Name Summary
#ctor Initializes a new instance of the PictureBox class.
Load Loads the image at the specified path or URL and sets ImageLocation to it.
OnPaint No XML summary yet.
OnSizeModeChanged Raises the SizeModeChanged event.

Documented Events

Name Summary
SizeModeChanged Raised when the value of the SizeMode property changes.

Notes

  • This page was generated from the public XML documentation of ModernFormsNext.
  • Base members inherited from Control, ScrollableControl, WindowBase, or other parent types may not all be repeated here.

Clone this wiki locally