dundas.controls.TemplateCellViewModel Class

 

Inheritance Hierarchy

 
Class
   dundas.EventDisposable
      dundas.controls.NotifiedViewModel
         dundas.controls.CanvasSelectableViewModel
            dundas.controls.TemplateCellViewModel
               dundas.controls.RepeaterTemplateCellViewModel
               dundas.controls.TemplateCellGroupViewModel
 

Constructors

 
  Name Description
init Initialize a viewmodel for a template cell.
 
 

Properties

 
  Name Description
bottomNeighbour Inherited from dundas.controls.CanvasSelectableViewModel.
businessObject Inherited from dundas.controls.CanvasSelectableViewModel.
canvas Inherited from dundas.controls.CanvasSelectableViewModel.
canvasService Inherited from dundas.controls.CanvasSelectableViewModel.
container Inherited from dundas.controls.CanvasSelectableViewModel.
designObjectCreated Inherited from dundas.controls.CanvasSelectableViewModel.
designTimeInteractable The content to add to the selection frame so that it is interact-able during design time Inherited from dundas.controls.CanvasSelectableViewModel.
gridTemplateAdorner Gets the grid template adorner of this template cell.
guidelines Gets the guidelines of this view model. Inherited from dundas.controls.CanvasSelectableViewModel.
hasAttached
hasVertices Gets whether or not the business object has vertices. Inherited from dundas.controls.CanvasSelectableViewModel.
isDisposed Gets a value indicating whether this instance has been disposed. Inherited from dundas.EventDisposable.
isDisposing Inherited from dundas.controls.CanvasSelectableViewModel.
isFloating
isFloatingInLayers
isInTemplate Gets the value indicating whether or not this view model is part of the template or not. Inherited from dundas.controls.CanvasSelectableViewModel.
isPageVisible Gets the whether or not the page at which this template cell resides is visible or not.
isSelectable Gets the select-ability of this view model. Inherited from dundas.controls.CanvasSelectableViewModel.
knockoutViewModel Gets the knockout view model to be bound to the views. Inherited from dundas.controls.CanvasSelectableViewModel.
leftNeighbour Inherited from dundas.controls.CanvasSelectableViewModel.
pageColumn
pageColumnSpan
pageRow
pageRowSpan
rightNeighbour Inherited from dundas.controls.CanvasSelectableViewModel.
selected Inherited from dundas.controls.CanvasSelectableViewModel.
selectedSubElement Gets or sets the selected sub-element context. Inherited from dundas.controls.CanvasSelectableViewModel.
topNeighbour Inherited from dundas.controls.CanvasSelectableViewModel.
uiCache Gets the UI cache table Inherited from dundas.EventDisposable.
 
 

Methods

 
  Name Description
bind Bind an event handler. Inherited from dundas.EventDisposable.
commitChanges Apply the changes made and fire the onPropertyChange event. Inherited from dundas.controls.NotifiedViewModel.
create Creates the actual DOM object. Inherited from dundas.controls.NotifiedViewModel.
createTemplateCellClone Create a "clone" of the DOM of this template cell from the control template, bound to the knockout view model of this view model.
destroy Destroy the business object on the canvas, to be implemented by inheriting class. Inherited from dundas.controls.NotifiedViewModel.
dispose Inherited from dundas.EventDisposable.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getBackgroundAbsoluteBound Retrieve a bounding rectangle of this view model. Inherited from dundas.controls.CanvasSelectableViewModel.
getContextualCommands Gets the contextual toolbar commands. Inherited from dundas.controls.CanvasSelectableViewModel.
getControlProperties Called to get the object with the list of properties on the root control, or any sub-element of the control. Inherited from dundas.controls.CanvasSelectableViewModel.
getStickyHeaderTemplateCellIds Retrieve the IDs of the template cell that needs to be placed into the sticky header
getTemplateCell Inherited from dundas.controls.CanvasSelectableViewModel.
invalidate Invalidate the template cell.
raiseBindEvent Fire the event specified with eventName, or subscribe a handler. Inherited from dundas.EventDisposable.
raiseCommitted Raise the property changed event. Inherited from dundas.controls.NotifiedViewModel.
refreshViewModelChange Goes through the view model to add any new changes. Inherited from dundas.controls.NotifiedViewModel.
removePropertiesOldValue Removes all the old value of each properties, so that the viewmodel looks as if it is newly created. Inherited from dundas.controls.NotifiedViewModel.
removePropertyOldValue Removes the old value of a particular property. Inherited from dundas.controls.NotifiedViewModel.
subscribe Subscribe or unsubscribe an event handler for an event. Inherited from dundas.EventDisposable.
subscribeCommitted Subscribe to the committed event. Inherited from dundas.controls.NotifiedViewModel.
subscribeDisposed Subscribe to the disposed event. Inherited from dundas.EventDisposable.
subscribeOnce Subscribe a one time event handler for an event. Inherited from dundas.EventDisposable.
subscribePropertiesChanged Subscribe an event handler for the properties changed event. Inherited from dundas.controls.NotifiedViewModel.
subscribeSelectionChanged
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
trigger Raise an event. Inherited from dundas.EventDisposable.
unbind Unsubscribe an event. if handler is specified, unsubscribe that handler. if no parameters are specified, unbind everything. Inherited from dundas.EventDisposable.
unbindAll unsubscribe all events. Inherited from dundas.EventDisposable.