PictureBox
Adds supports for [System.Windows.Forms.PictureBox](https://msdn.microsoft.com/en-us/library/system.windows.forms.label(v=vs.110).aspx)
Implementation Details
Component Selector: 'wm-picturebox'
Class inheritance
PictureBoxComponent extends ControlComponent.
PME Support
Properties
Property | Get/Set | Notify Changes | Details |
source | Yes | No | Sets and gets value of the image resource. |
text: string | Yes | Yes | Inherited from ControlComponent see ControlComponent |
name: string | Yes | No | Inherited from ControlComponent see ControlComponent |
enabled: boolean | Yes | No | Inherited from ControlComponent see ControlComponent |
visible: boolean | Yes | No | Inherited from ControlComponent see ControlComponent |
sizeMode: number | Yes | No | Gets or sets the value of the sizeMode. |
Methods
Method | Supported | Details |
sizes: any | Yes | Returns the value for the property PicktureBoxSizeMode. |
isValidSource: boolean | Yes | Returns if the source property is a valid resource url. |
Events
Event | Supported | Parameter | Details |
click | Yes | $event: any | Trigger Click Event. $event parameter is optional and the $event object vary depending on the type of DOM event. |
dragDrop | Yes | $event: any } | Trigger event after an element is dropped inside the control. |
Last updated