Control
Implementation Details
Component Selector: 'Base component without template and selector'
PME Support
Properties
Property | Get/Set | Notify Changes | Details |
top: number | Yes | No | Gets or sets the distance, in pixels, between the top edge of the control and the top edge of its container. |
bottom: number | Yes | No | Gets or sets the distance, in pixels, between the bottom edge of the control and the top edge of its container. |
right: number | Yes | No | Gets or sets the distance, in pixels, between the right edge of the control and the left edge of its container. |
left: number | Yes | No | Gets or sets the the distance, in pixels, between the left edge of the control and the left edge of its container. |
model: any | Yes | No | Gets or sets the data model of the control. |
id: string | Yes | No | Gets or sets the ID of the control. |
events: { [name: string]: boolean } | Yes | No | Gets or sets the collection of events that the control has binded. |
name: string | Yes | No | Gets or sets the name of the control. |
text: string | Yes | Yes | Gets or sets the text associated with this control. |
enabled: boolean | Yes | No | Gets or sets a value indicating whether the control can respond to user interaction. |
disabled: boolean | Get | No | Gets true value if the control can respond to user interaction and |
visible: boolean | Yes | No | Gets or sets a value indicating whether the control is displayed. |
width: number | Yes | No | Gets or sets the width of the control. |
height: number | Yes | No | Gets or sets the height of the control. |
tooltip: string | Yes | No | Gets or sets the text that is going to be displayed when the control is overed. |
allowDrop: boolean | Get | No | Gets the allowdrop property that enables the control to receive data that is dropped in it. |
Methods
Method | Supported | Details |
isBindedEvent | Yes | Returns true if the event name passed as parameter is binded. |
setMyStyle | Yes | Applies an dictionary of style properties to the control. |
Events
Event | Supported | Parameter | Details |
GotFocus | Yes | $event: any | Triggers |
LostFocus | Yes | $event: any | Triggers |
TextChanged | Yes | $event: any | Triggers |
KeyPress | Yes | $event: any | Triggers |
KeyDown | Yes | $event: any | Triggers |
Leave | Yes | $event: any | Triggers |
Enter | Yes | $event: any | Triggers |
ContextMenu | Yes | $event: any | Triggers |
DragDrop | Yes | $event: any | Triggers |
Last updated