File

src/components/kendoUI/file-dialog/file-dialog.component.ts

Extends

WMWindowComponent

Metadata

Index

Properties
Methods
Inputs
Outputs
HostListeners
Accessors

Constructor

constructor(wmservice: WebMapService, changeDetectorFile: ChangeDetectorRef, rendererFile: Renderer2, elementRf: ElementRef, webComponents: WebComponentsService, wmWindowService: WMWindowService, windowsManager2: WindowsManagerService)
Parameters :
Name Type Optional
wmservice WebMapService No
changeDetectorFile ChangeDetectorRef No
rendererFile Renderer2 No
elementRf ElementRef No
webComponents WebComponentsService No
wmWindowService WMWindowService No
windowsManager2 WindowsManagerService No

Inputs

clientCustomIdentifier
Type : string

This is exclusively to identify the form from the FE client code This is because we should not use the name property. It can be duplicated. And the mobilize id is available on runtime but the nowebmap form doesn't have access to that property

mdiMode
Type : boolean
windowModel
Type : any

Input of control container component A reference to the parent window model

class
Type : string
model
Type : any
tabindex
Type : string
tooltip
Type : string
useCss
Type : boolean
Default value : false

Property to know if the inline styles should not be applied.

Outputs

Upload
Type : EventEmitter<EventData>

Output event

Close
Type : EventEmitter<EventData>

Output event

MouseDown
Type : EventEmitter<any>
RefreshClientCustomChanges
Type : EventEmitter<EventData>
ContextMenu
Type : EventEmitter<EventData>
DragDrop
Type : EventEmitter<EventData>
Enter
Type : EventEmitter<EventData>
GotFocus
Type : EventEmitter<EventData>
KeyDown
Type : EventEmitter<KeyEventArgs>
KeyPress
Type : EventEmitter<EventData>
KeyUp
Type : EventEmitter<KeyEventArgs>
Leave
Type : EventEmitter<EventData>
LostFocus
Type : EventEmitter<EventData>
MouseMove
Type : EventEmitter<MouseEventArgs>
Resize
Type : EventEmitter<EventData>
TextChanged
Type : EventEmitter<EventData>
Validated
Type : EventEmitter<EventData>
Validating
Type : EventEmitter<EventData>

HostListeners

window:resize
Arguments : '$event'
window:resize(e: any)

Handle the browser resizing event to expand the window whenever it modifies its size and the window is in maximized state.

Parameters :
Name Optional Description
e No

the current javascript event

Methods

getFiles
getFiles(event)
Parameters :
Name Optional
event No
Returns : void
triggerUpload
triggerUpload(event: any)
Decorators :
@serverEvent('Upload', FileDialogComponent.UploadEventArgsExtractor)
Parameters :
Name Type Optional
event any No
Returns : void
Static UploadEventArgsExtractor
UploadEventArgsExtractor(event: any, component: FileDialogComponent)
Parameters :
Name Type Optional
event any No
component FileDialogComponent No
Returns : any
uploadFile
uploadFile()

This upload the file name to the server side using an specialized controller.

Returns : void
acceptButtonAction
acceptButtonAction(e: any)

Accept button action

Parameters :
Name Type Optional Description
e any No

Key down event args

Returns : void
acceptButtonMustBeTrigerred
acceptButtonMustBeTrigerred(buttons: any[] | any)

Accepts button must be triggered

Parameters :
Name Type Optional
buttons any[] | any No
Returns : boolean

true if button must be triggered

applyFocus
applyFocus()

Applies the focus to the start element on the head node.

Returns : void
applyMdiContainerStyle
applyMdiContainerStyle()

This sets the mdi container window style and creates mdiContentDiv element. If window is not a mdi container, style won't be applied. The mdiContentDiv element is created to calculate container space for mdiChilds.

Returns : any
applyModalZIndex
applyModalZIndex(form: any, blockDiv: any)
Parameters :
Name Type Optional
form any No
blockDiv any No
Returns : void
bringToFront
bringToFront()

Set the current kendo-window element focused.

Returns : void
browserResize
browserResize(e: any)
Decorators :
@HostListener('window:resize', ['$event'])

Handle the browser resizing event to expand the window whenever it modifies its size and the window is in maximized state.

Parameters :
Name Type Optional Description
e any No

the current javascript event

Returns : void
cancelAction
cancelAction(e: any)

Cancel action

Parameters :
Name Type Optional Description
e any No

Key down event args

Returns : void
close
close(event: any)
Decorators :
@serverEvent('FormClose')

Methods

Parameters :
Name Type Optional
event any No
Returns : void
contextMenu
contextMenu(event)
Decorators :
@serverEvent('MouseDown', WMWindowComponent.mouseEventArgsExtractor)
Parameters :
Name Optional
event No
Returns : void
defineInitialPosition
defineInitialPosition()

This function determines the intial window location (top, left). If model does not has a location defined in model the form will use the location defined in the css class, and finally if css class does not specifies location it will use default center position.

Returns : void
defineMdiChildLastPosition
defineMdiChildLastPosition()

This function sets the restoreTop and restoreLeft values. If the window is mdi child, these values will be stored. This method should be called when window is opened/dragged/resize. When window is restored from being maximized, will use these restoreTop and restoreLeft values.

Returns : void
defineMdiChildPosition
defineMdiChildPosition()

This function determines the intial mdiChild window location (top, left). It will set to the mdiContainer's top to its top + mdiContainer offset. This will avoid mdiChild window overlapping mdiContainer controls.

Returns : void
detectChangesSubscribe
detectChangesSubscribe()

Method to subscribe to the change detection mechanism

Returns : void
dialogModeVisible
dialogModeVisible()

Dialog Mode Visible

Returns : boolean

{boolean}

formModeVisible
formModeVisible()
Returns : boolean
getAcceptButtonById
getAcceptButtonById(control: any, acceptButtonId: string)

Gets the control that matches the id of the accept button.

Parameters :
Name Type Optional
control any No
acceptButtonId string No
Returns : any
getDisplayElement
getDisplayElement()

Gets display element depending on what kind of window is rendered (MDI, Child, ...)

Returns : HTMLElement | undefined

HTML element that represents the visual element target to receive visual changes

getType
getType()

Gets string indicating the type

Returns : string

type

heightChangeHandler
heightChangeHandler(e)

Heights change handler

Parameters :
Name Optional Description
e No

new height

Returns : void
hideTitleBar
hideTitleBar()

Returns hide-title-bar class

Returns : string
isDefaultPosition
isDefaultPosition(elem: HTMLElement)

This function is used to define if the css class applied to the window has a default position. Any position negative going to be considered as a default position and the window will be positioned at the center of the main window.

Parameters :
Name Type Optional
elem HTMLElement No
Returns : boolean

boolean

isDeleted
isDeleted()

Verify window model exist in dictionary.

Returns : boolean

{boolean}

isResizable
isResizable()

Set the resizable property for kendo-window by borderStyle.

Returns : boolean
mdiChildWindowStateChange
mdiChildWindowStateChange()

This function sets the style values to the mdi child form when maximizing and restores. Adjusts the size and position of the window to the mdiParent container size and disables draggable when maximizing.

Returns : void
Static mouseEventArgsExtractor
mouseEventArgsExtractor(event: any, component: WMWindowComponent)
Parameters :
Name Type Optional
event any No
component WMWindowComponent No
Returns : any
ngAfterViewInit
ngAfterViewInit()
Returns : void
ngDoCheck
ngDoCheck()
Returns : void
ngOnDestroy
ngOnDestroy()
Returns : void
ngOnInit
ngOnInit()
Returns : void
onKeyDown
onKeyDown(e: any)

Handles Key Down event

Parameters :
Name Type Optional
e any No
Returns : void
overrideKeyDown
overrideKeyDown()

Overrides key down Overrides the original kendo keydown event in order to cancel the default closing action when esc key is pressed and there is a cancelbutton defined

Returns : void
Static RefreshClientCustomChangesEventArgsExtractor
RefreshClientCustomChangesEventArgsExtractor(event: any, component: WMWindowComponent)

Event args extractor for the RefreshClientCustomChanges event.

Parameters :
Name Type Optional
event any No
component WMWindowComponent No
Returns : any

{*}

refreshComponentData
refreshComponentData(clientCustomEventData: EventData)
Decorators :
@serverEvent('RefreshClientCustomChanges', WMWindowComponent.RefreshClientCustomChangesEventArgsExtractor)

Triggers the refresh component data event.

Parameters :
Name Type Optional
clientCustomEventData EventData No
Returns : void
refreshDataSubscription
refreshDataSubscription()

This method is exclusively to

Returns : void
reloadPendingViews
reloadPendingViews()

Reload pending child views when is mdi container

Returns : void
removeCSSHeightWidth
removeCSSHeightWidth()

Overrides the css class of window content to use width and height values from model

Returns : void
removeNewSize
removeNewSize()

Removes new size

Returns : void
setAcceptButtonWhenIdChanges
setAcceptButtonWhenIdChanges()

Sets the accept button control when the id changes.

Returns : void
Private setdisplayElementProperty
setdisplayElementProperty(property: string, value: string)
Parameters :
Name Type Optional
property string No
value string No
Returns : void
setNewSize
setNewSize()

Sets new size

Returns : void
setOverrideFocusEvent
setOverrideFocusEvent()

This function overrides the focus event implementation in order to avoid the scrolling-top behavior once the form is focused

Returns : void
setSameZIndex
setSameZIndex()

This function determines the intial window zIndex, it uses the WindowService from KendoUI to determine the top position of windows opened.

Returns : void
shortcutAction
shortcutAction(e: any)

Shortcuts action

Parameters :
Name Type Optional Description
e any No

Key down event args

Returns : void
specialStyle
specialStyle()

Special style for the dock process

Returns : void
tabIndexFirstId
tabIndexFirstId(controlsCollection: any)

Gets tab index first button id

Parameters :
Name Type Optional
controlsCollection any No
Returns : any
widthChangeHandler
widthChangeHandler(e)

Widths change handler

Parameters :
Name Optional Description
e No

new width

Returns : void
Protected calculateTabOrder
calculateTabOrder()

Calculates tab order according to model value. Since it is a control container, the tabStop property is ignored.

Returns : any

tab order

containerInteractionSubscription
containerInteractionSubscription()

Containers interaction subscription Register the containerInteraction events

Returns : void
detectChangesExecution
detectChangesExecution()

Execute the detectChanges() function on the subscription of the detectChanges, this subscription is in the control.component.ts WinForms

Returns : void
getAllControls
getAllControls()

Gets all controls that are contained inside of control container

Returns : void
getElementToRemove
getElementToRemove(value: string)

Return the element to be removed from the DOM. This is to find the html in a deeper way because the namedItem does not implements a deeper search

Parameters :
Name Type Optional Description
value string No

The name value or id value to search

Returns : any

any The html element if exists otherwise null

loadControlModels
loadControlModels(controls: any)

Loads control models and sets zIndex value

Parameters :
Name Type Optional Description
controls any No

Controls collection received from API

Returns : void
removeControlHandler
removeControlHandler(data: EventData)

Removes the static content from the container control. This is not a normal thing to do in standard angular applications This function only removes the ui element. To destroy the component instance the server should remove the component's model.

Parameters :
Name Type Optional Description
data EventData No

An Event data that contains the current control and Id that will be removed.

Returns : void
Private addModifierKey
addModifierKey(keyCode: number)

Add a modifier key if it applies.

Parameters :
Name Type Optional
keyCode number No
Returns : void
applyAnchorProperty
applyAnchorProperty()

Applies anchor property

Returns : void
applyAutoSizeProperty
applyAutoSizeProperty()

Applies auto size property Fix the current control dimensions to fit its content according to the autosize and autosizemode properties

Returns : void
blur
blur(event: any)
Decorators :
@serverEvent('LostFocus')
Parameters :
Name Type Optional
event any No
Returns : void
Private bringToFrontService
bringToFrontService()

Bring to front service

Returns : void
canSubscribeToErrorProvider
canSubscribeToErrorProvider()

Returns true if the control is ready to subscribe to the ErroProvider.

Returns : boolean
change
change(event: any)
Decorators :
@serverEvent('TextChanged')
Parameters :
Name Type Optional
event any No
Returns : void
changeChildEnableStatus
changeChildEnableStatus(parent: any, value: boolean)

Property EnabledInternal: is used to check the original enabled state of any control. IMPORTANT: This property is modify only when the component is modified by himself its parent can't modify it

Parameters :
Name Type Optional
parent any No
value boolean No
Returns : void
checkDetectChangesAfterLeave
checkDetectChangesAfterLeave()

Over ride if the component need to check for changes after losses focus

Returns : void
checkErrorProvider
checkErrorProvider()

This function handles the ErrorProvider for each component

Returns : void
createErrorProvider
createErrorProvider()

Auxiliary function that creates the image of the errorProvider, this to reduce the cognitive complexity of the function checkErrorProvider

Returns : void
currentWebMapService
currentWebMapService()

Current instance of the static WebMapService

Returns : WebMapService

{*}

detectChanges
detectChanges()

Triggers a detect change action

Returns : void
dragDrop
dragDrop(event: any)
Decorators :
@serverEvent('DragDrop', ControlComponent.dragDropEventArgsExtractor)

Handles the dragdrop event. Should stop server propagation if allowdrop is false;

Parameters :
Name Type Optional Description
event any No

the drop data

Returns : boolean
Static dragDropEventArgsExtractor
dragDropEventArgsExtractor(event: any, component: ControlComponent)
Parameters :
Name Type Optional
event any No
component ControlComponent No
Returns : any
enter
enter(event: any)
Decorators :
@serverEvent('Enter', ControlComponent.EnterEventArgsExtractor, undefined)
Parameters :
Name Type Optional
event any No
Returns : void
Static EnterEventArgsExtractor
EnterEventArgsExtractor(event: any, component: ControlComponent)
Parameters :
Name Type Optional
event any No
component ControlComponent No
Returns : any
errorValueAux
errorValueAux()

Auxiliary function that returns values in some especial cases, this to reduce the cognitive complexity of the function checkErrorProvider

Returns : number
focus
focus(event: any)
Decorators :
@serverEvent('GotFocus')
Parameters :
Name Type Optional
event any No
Returns : void
getElementErrorProvider
getElementErrorProvider(element)

Get the corresponding element depending of the TagName

Parameters :
Name Optional Description
element No

The current element

Returns : HTMLElement
getElementErrorProviderStyle
getElementErrorProviderStyle(element)

Get the corresponding Style depending of the TagName

Parameters :
Name Optional Description
element No

The current element

Returns : string
getElementsWidth
getElementsWidth()

Calculate the total width, including all siblings elements.

Returns : number
getExtraElement
getExtraElement()

Gets the extra element affecting the position of the error provider.

Returns : any
Protected getNewPositions
getNewPositions()

Gets new positions Analyze the children components and get the new sizes for this control with the autoSizeMode

Returns : literal type

new positions

getStyle
getStyle()

Gets the new Style

Returns : Style
getStyleDisplay
getStyleDisplay()

Method to allow each component to manage its own display property Example : {display: 'block'}

Returns : string
getWrapperElement
getWrapperElement()

Gets the wrapper element of the control in the DOM.

Returns : any
Private hideToolTipDirective
hideToolTipDirective()

Hides tool tip directive

Returns : void
isBindedEvent
isBindedEvent(event: string)

Indicates if an event is binded in the server or not.

Parameters :
Name Type Optional Description
event string No

The name of the event in the server.

Returns : boolean
isComponentReady
isComponentReady()

Determines whether component is ready in the DOM

Returns : boolean

true if component ready

Protected isCustomControl
isCustomControl()

Check if this control is a custom editor for the c1flexgrid component. otherwise it returns False.

Returns : boolean

Returns True if the control is within a custom editor column, otherwise it returns False.

isUserControl
isUserControl()

Gets if is usercontrol or not

Returns : boolean
keyDown
keyDown(event: any)
Decorators :
@serverEvent('KeyDown', ControlComponent.keyEventArgsExtractor)
Parameters :
Name Type Optional
event any No
Returns : void
Static keyEditEventArgsExtractor
keyEditEventArgsExtractor(event: any, component: ControlComponent)
Parameters :
Name Type Optional
event any No
component ControlComponent No
Returns : any
Static keyEventArgsExtractor
keyEventArgsExtractor(event: any, component: ControlComponent)
Parameters :
Name Type Optional
event any No
component ControlComponent No
Returns : any
keyPress
keyPress(event: any)
Decorators :
@serverEvent('KeyPress', ControlComponent.keyPressEventArgsExtractor)
Parameters :
Name Type Optional
event any No
Returns : void
Static keyPressEventArgsExtractor
keyPressEventArgsExtractor(event: any, component: ControlComponent)
Parameters :
Name Type Optional Description
event any No

event to call

component ControlComponent No

component used to get the id.

Returns : any
keyUp
keyUp(event: any)
Decorators :
@serverEvent('KeyUp', ControlComponent.keyEventArgsExtractor)
Parameters :
Name Type Optional
event any No
Returns : void
leave
leave(event: any)
Decorators :
@serverEvent('Leave')
Parameters :
Name Type Optional
event any No
Returns : void
leaveEventsHandler
leaveEventsHandler(event: any)

Triggers the leave-validating-validated events in the correct order.

Parameters :
Name Type Optional
event any No
Returns : void
markForCheck
markForCheck()

Marks for check Marks component to be checked by the next detect changes action

Returns : void
mouseEnter
mouseEnter(event: any)

Mouses enter Shows tooltip if need it

Parameters :
Name Type Optional Description
event any No

the current js event object

Returns : void
mouseLeave
mouseLeave(event: any)

Mouses leave Hides tooltip if need it

Parameters :
Name Type Optional Description
event any No

the current js event object

Returns : void
mouseMove
mouseMove(event: any)

MouseMove event emit the data for every mouseMove event

Parameters :
Name Type Optional
event any No
Returns : void
ngAfterViewChecked
ngAfterViewChecked()
Returns : void
notifyErrorProvider
notifyErrorProvider()

Auxiliary function notifying that the errorProvider has been rendered, this to reduce the cognitive complexity of the function checkErrorProvider

Returns : void
notifyEvent
notifyEvent(eventName: string, event: any)

Notifies leave

Parameters :
Name Type Optional Description
eventName string No
event any No

the current event

Returns : void
Protected notifyParentAutoSize
notifyParentAutoSize()

Notifies parent auto size

Returns : void
notifyWindowToBringTop
notifyWindowToBringTop(event: any)

Notifies the window to bring top When a control is clicked or focused in the screen

Parameters :
Name Type Optional Description
event any No

The current javascript event

Returns : void
processSpecialDock
processSpecialDock(component: ControlComponent, size: ISize, offsets: IOffsets)

Process special dock for the current Control. you should override the method in the specify control.

Parameters :
Name Type Optional Description
component ControlComponent No

child component

size ISize No

parentSize

offsets IOffsets No
Returns : literal type

special dock. new size and offset for the dock context.

Private removeModifierKey
removeModifierKey(keyCode: number)

Remove a modifier key if it applies.

Parameters :
Name Type Optional
keyCode number No
Returns : void
Private removeStyleProperty
removeStyleProperty(property: string)

Sets style property Updates model values for Style

Parameters :
Name Type Optional Description
property string No

current property to update

Returns : void
resize
resize(event: any)
Decorators :
@serverEvent('Resize')

Trigger the event resize defined through the output member.

Parameters :
Name Type Optional Description
event any No

The event object.

Returns : void
resolvePendingTabSubscriptions
resolvePendingTabSubscriptions()

Resolves pending tab subscriptions for components that were resolved as pending parent

Returns : void
Protected setChildIndex
setChildIndex()

Sets child index to HTML zindex property

Returns : void
setDisplayElementOriginalDimensions
setDisplayElementOriginalDimensions()

Sets display element original dimensions

Returns : void
setMyStyle
setMyStyle()

Returns a valid style object to be applied according to the styling information set in the control's model

Returns : literal type
shouldApplyFocus
shouldApplyFocus()

Determines whether applyFocus method should be called.

Returns : boolean

true if apply focus

Private shouldValidateErrorProvider
shouldValidateErrorProvider()

Determines if error provider should be validated

Returns : boolean

true if it has to validate error provider

Private showTooltipDirective
showTooltipDirective()

Shows tooltip directive

Returns : void
Private startAnchorProcess
startAnchorProcess()

Starts anchor process After rendering a new window the anchor process is triggered before the docking process to ensure that the measure to edges are correct and the anchor distances are calculated properly

Returns : void
subscribeErrorProvider
subscribeErrorProvider()

This function handles the subscription to the ErrorProvider.

Returns : void
Private tooltipHandler
tooltipHandler()

Tooltips handler

Returns : void
Protected updateDockProperty
updateDockProperty()

compare if the dock is different and call the dockChange

Returns : void
validated
validated(event: any)
Decorators :
@serverEvent('Validated')
Parameters :
Name Type Optional
event any No
Returns : void
validating
validating(event: any)
Decorators :
@serverEvent('Validating')
Parameters :
Name Type Optional
event any No
Returns : void
verifyErrorProvider
verifyErrorProvider(event: EventData)

Function that verifies that another component does not duplicate the same errorProvider

Parameters :
Name Type Optional
event EventData No
Returns : void

Properties

defaultDataUrl
Type : string
Default value : 'api/openfiledialog'
fileList
Type : any

Selected File List

UploadFileUrl
Default value : `${this.defaultDataUrl}/UploadFile`

Url to upload the file

blockUI
Type : ElementRef
Decorators :
@ViewChild('blockUI', {static: false})

BlockUI element

bringTopSubs
Type : any
browserResizeTO
Type : any
contentArea
Type : null
Default value : null
dialogPosition
Type : number
Default value : 501

Constant defined by convention

domElement
Type : null
Default value : null
initialModalZIndex
Type : number
Default value : 10500
isDraggable
Default value : true
kendoWindow
Type : WindowComponent
Decorators :
@ViewChild(WindowComponent, {static: false})

According to documentation at: https://www.telerik.com/kendo-angular-ui/components/dialogs/api/WindowComponent/ the component is accessible in templates as kendoWindow

lastAcceptButtonControl
Type : any
lastFocusedControl
Type : any
lastHeight
Type : number
Default value : 0
lastWidth
Type : number
Default value : 0
mdiContainerElement
Type : ElementRef
Decorators :
@ViewChild('mdiContainerElement', {static: false})
mdiContentDiv
Type : null
Default value : null
parentTemplate
Decorators :
@ContentChild(TemplateRef, {static: false})

Parent template

refreshWindowClientCustomSubscription
Type : Subscription

The subscription to the ClientCustomUpdateService

restoreLeft
Type : number
Default value : 0
restoreTop
Type : number
Default value : 0
titleArea
Type : null
Default value : null
windowContent
Type : ElementRef
Decorators :
@ViewChild('windowContent', {static: false})
eventEmitterSubscription
Type : Subscription

Event emitter subscription of wmusercontrol component

getAllControlsUrl
Type : string
Default value : 'api/control/GetAllControls'

Get all controls url of control container component

isComponentFocused
Type : boolean

Determines whether component is focused Flag to avoid triggering the event multiple times

Private _font
Type : Font
_model
Type : any
controlFlag
Default value : true

The controlFlag help us to avoid twice calls.

detectChangesSubscription
Type : string

Detect changes subscription of control component

displayElementInner
Type : HTMLElement | undefined

the element that is shown in the DOM. Should be override in each component.

Private Static DIV_TAG
Type : string
Default value : 'DIV'
errorIsRendered
Default value : false

This flag lets the controller know if the error provider has been rendered.

errorIsShowed
Default value : false

This flag allows the controller to display the errorProvider.

hasErrorProviderSubscription
Default value : false

Flag indicating whether the control has the error provider subscription.

isControlComponent
Default value : true

Validate the component inherits from controlComponent or is an instance of controlComponent

isInsideGridCell
Type : boolean

This should be set from the container where the component is going to be rendered Determines whether the component is render dynamically inside a grid cell(using a container mechanism like wm-container)

Static modifierKeys
Default value : Keys.none
originalHeight
Type : number

Original height of control component

originalVisibility
Type : boolean

Original visibility of control component Keeps a record of the current visible value to detect changes;

originalWidth
Type : number

Original width of control component

registerManually
Default value : false

A reference for managing component registration manually

shortcut
Type : string

Shortcut property of basecontrolcomponent

showUnderline
Default value : false

Property to trigger the underline of the shortcuts

style
Type : Style

This object contains the style information for the component.

syncCompleteSubscription
Type : string

Sync complete subscription of control component

tabDirective
Type : ControlsDirective
Decorators :
@ViewChild(ControlsDirective, {static: false})

View child of tab directive

tooltipDir
Type : TooltipDirective
Decorators :
@ViewChild(TooltipDirective)

View child of control component

triggerShortcutUnderlineSubscription
Type : Subscription

Shortcut underline subcription of a component

afterFirstCall
Default value : false

After first call of control component. Flag used to know if the control have been called in the ngAfterViewInit

anchorApplied
Default value : -1

Anchor applied of control component Holds the currently applied anchor property -1 otherwise.

autoSizeApplied
Default value : false

Auto size applied of control component

children
Type : []
Default value : []

Controls of control component Array of controls that are children of this component

containerTabOrderService
Type : ContainerTabOrderService

Container tab order service of control component base component

currentAutoSizeMode
Default value : -1

Current auto size mode of control component

currentDock
Type : number
Default value : 0

Current dock of control component

currentDockingOrder
Type : []
Default value : []

Current docking order of control component. Array of children ids

customControl
Default value : false

Custom control property obtains the value when is calculated in ngAfterViewInit, it determines if it is a component rendered inside of a custom control column of WFNETC1 WE SHOULD TRY TO REMOVE THIS PROPERTY, WINFORMS COMPONENTS SHOULD NOT KNOW THAT A COMPONENT FROM WFNETC1 EXISTS.

defaultControls
Type : []
Default value : []

Default controls of control component. Internal array of the child with special docking

errorProviderIconWasCreated
Type : boolean

Flag to know if the error provider icon is created.

internalTabOrder
Type : any

Internal tab order of control component base component

isApplyingFocus
Type : boolean

Optional flag to determine when the component is calling the applyFocus method.

lastErrorProviderMessage
Default value : undefined

Last error provider message of control component base component to cached value and avoid multiple unnecessary function calls

lastZIndex
Type : number
Default value : 0

Last zIndex of control component

originalTooltipText
Type : string

Original tooltip text of control component base component

specialDock
Default value : false

Special dock of control component. Mark to process the dock with special values

tabNodeReference
Type : TabNode

Tab node reference of base control component

tooltipDisplayed
Type : boolean

Tooltip displayed of control component base component

Accessors

fileName
getfileName()

Returns the name of the selected file.

Returns : string
setfileName(value: string)

Set the name of the selected file

Parameters :
Name Type Optional
value string No
Returns : void
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""