PictureBox
Wisej.Web.PictureBox
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents an image control.
public class PictureBox : Control, ISupportInitialize, IButtonControl, IImage, ICommandSourcePublic Class PictureBox
Inherits Control
Implements ISupportInitialize, IButtonControl, IImage, ICommandSourceConstructors
PictureBox()
Initializes a new instance of the PictureBox class.
PictureBox(image, sizeMode)
Initializes a new instance of the PictureBox class with specified settings.
sizeMode
The size mode for the picture box, optional and defaults to PictureBoxSizeMode.Normal.
PictureBox(imageSource, sizeMode)
Initializes a new instance of the PictureBox class with specified settings.
sizeMode
The size mode for the picture box, optional and defaults to PictureBoxSizeMode.Normal.
PictureBox(location, size)
Initializes a new instance of the PictureBox class with specified settings.
PictureBox(image, location, size, sizeMode)
Initializes a new instance of the PictureBox class with specified settings.
PictureBox(imageSource, location, size, sizeMode)
Initializes a new instance of the PictureBox class with specified settings.
Properties
BorderStyle
BorderStyle: Indicates the border style for the control. (Default: None)
Command
ICommand: Returns or sets the ICommand implementation to invoke. (Default: null)
DefaultSize
Size:
DialogResult
DialogResult: Returns or sets a value that is returned to the parent form when the button is clicked. (Default: None)
Filter
String: Returns or sets the filter (filter) to apply to the picture. (Default: null)
Image
Image: Returns or sets the image that is displayed by PictureBox.
ImageSource
String: Returns or sets the theme name or URL for the image to display in the PictureBox.
SizeMode
PictureBoxSizeMode: Indicates how the image is displayed. (Default: Normal)
Methods
Dispose(disposing)
Disposes the control.
Load(url)
Sets the ImageSource to the specified URL and displays the image indicated.
LoadAsync(url)
Loads the image at the specified location, asynchronously.
OnClick(e)
Fires the Click event.
OnCommandChanged(e)
Fires the CommandChanged event.
OnLoadCompleted(e)
Fires the LoadCompleted event.
OnSizeModeChanged(e)
Fires the SizeModeChanged event.
OnWebEvent(e)
Processes the event from the client.
OnWebRender(config)
Renders the client component.
PerformClick()
Generates a Click event for the LinkLabel control.
Events
CommandChanged
EventHandler Fired when the Command property value changes.
LoadCompleted
EventHandler Fired when the asynchronous image-load operation is completed.
SizeModeChanged
EventHandler Fired when SizeMode changes.
Implements
Provides access to the UserData and Tag properties associated to the component implementing this interface.
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
Was this helpful?

