PictureBoxExtensions
Wisej.Web.Markup.PictureBoxExtensions
Last updated
Was this helpful?
Wisej.Web.Markup.PictureBoxExtensions
Last updated
Was this helpful?
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds extension methods to the class.
Sets the BorderStyle property of the specified .
TPictureBox
pictureBox
The picture box for which to set the BorderStyle property.
borderStyle
Returns: . The modified picture box with the updated BorderStyle property.
This method allows you to specify the border style for the picture box.
TPictureBox
pictureBox
The picture box to attach the event handler to.
action
An action to execute when the image load is completed.
This method allows you to execute a custom action whenever the image loading process of the picture box is completed.
TPictureBox
pictureBox
The picture box to attach the event handler to.
action
An action to execute when the size mode changes.
This method allows you to execute a custom action whenever the size mode of the picture box changes.
TPictureBox
pictureBox
The picture box for which to set the SizeMode property.
sizeMode
This method allows you to specify the size mode for the picture box, which determines how the image is displayed.
The type of the picture box, must inherit from .
The to set for the picture box.
Attaches an event handler for the LoadCompleted event of the specified .
The type of the picture box, must inherit from .
Returns: . The modified picture box with the attached LoadCompleted event handler.
Attaches an event handler for the SizeModeChanged event of the specified .
The type of the picture box, must inherit from .
Returns: . The modified picture box with the attached SizeModeChanged event handler.
Sets the SizeMode property of the specified .
The type of the picture box, must inherit from .
The to set for the picture box.
Returns: . The modified picture box with the updated SizeMode property.