New to Telerik UI for WinFormsStart a free 30-day trial

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 EventArgs.Empty

Constructors

Initializes a new instance of the PictureBoxImageLoadedEventArgs class.

C#
public PictureBoxImageLoadedEventArgs(ImageKind imagekind, LoadImageContext loadContext, string filePath = null)
Parameters:imagekindImageKindloadContextLoadImageContextfilePathstring

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 image type that was loaded.

C#
public ImageKind ImageKind { get; }

Gets the context source used during the image loading operation.

C#
public LoadImageContext LoadContext { get; }