PictureBox

Wisej.Web.PictureBox

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents an image control.

public class PictureBox : Control, ISupportInitialize, IButtonControl, IImage, ICommandSource

Constructors

Initializes a new instance of the PictureBox class.

Initializes a new instance of the PictureBox class with specified settings.

NameTypeDescription

image

The Image object to display in the picture box.

sizeMode

The size mode for the picture box, optional and defaults to PictureBoxSizeMode.Normal.

Initializes a new instance of the PictureBox class with specified settings.

NameTypeDescription

imageSource

The source path of the image to display in the picture box.

sizeMode

The size mode for the picture box, optional and defaults to PictureBoxSizeMode.Normal.

Initializes a new instance of the PictureBox class with specified settings.

NameTypeDescription

location

The location of the TextBox on its parent control.

size

The size of the TextBox.

Initializes a new instance of the PictureBox class with specified settings.

NameTypeDescription

image

The Image object to display in the picture box.

location

The location of the TextBox on its parent control.

size

The size of the TextBox.

sizeMode

The size mode for the picture box, optional and defaults to Normal.

Initializes a new instance of the PictureBox class with specified settings.

NameTypeDescription

imageSource

The source path of the image to display in the picture box.

location

The location of the TextBox on its parent control.

size

The size of the TextBox.

sizeMode

The size mode for the picture box, optional and defaults to Normal.

Properties

BorderStyle: Indicates the border style for the control. (Default: None)

ICommand: Returns or sets the ICommand implementation to invoke. (Default: null)

DialogResult: Returns or sets a value that is returned to the parent form when the button is clicked. (Default: None)

String: Returns or sets the filter (filter) to apply to the picture. (Default: null)

Image: Returns or sets the image that is displayed by PictureBox.

String: Returns or sets the theme name or URL for the image to display in the PictureBox.

PictureBoxSizeMode: Indicates how the image is displayed. (Default: Normal)

Methods

Sets the ImageSource to the specified URL and displays the image indicated.

ParameterTypeDescription

url

The path for the image to display in the PictureBox.

Loads the image at the specified location, asynchronously.

ParameterTypeDescription

url

The path for the image to display in the PictureBox.

Generates a Click event for the LinkLabel control.

Events

EventHandler Fired when the Command property value changes.

EventHandler Fired when the asynchronous image-load operation is completed.

EventHandler Fired when SizeMode changes.

Implements

NameDescription

Bindable components implement this interface.

Allows a control to act like a button on a Form.

Defines an object that can invoke a Command.

Controls that support drag & drop operations implement this interface.

Provides access to common image properties across the controls that implement this interface.

All wisej components implement this interface.

All wisej controls derived from the Control class must implement this interface.

Allows an object to serialize itself.

Last updated