Provides data for the event that occurs when an image has been loaded into a PictureBox control.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class PictureBoxImageLoadedEventArgs : EventArgs
Inheritance: objectEventArgsPictureBoxImageLoadedEventArgs
Inherited Members
Constructors
Initializes a new instance of the PictureBoxImageLoadedEventArgs class.
C#
public PictureBoxImageLoadedEventArgs(ImageKind imagekind, LoadImageContext loadContext, string filePath = null)
The raster or vector kind of the loaded image.
loadContextLoadImageContextWhether the image was loaded from a file or pasted from the clipboard.
filePathstringThe source file path, when available; clipboard loads do not provide one.
Properties
Gets the file path from which the image is loaded. This property is valid only when the LoadContext is set to File. Otherwise, it will be null.
C#
public string FilePath { get; }
Gets the context source used during the image loading operation.
C#
public LoadImageContext LoadContext { get; }