Version

EditingBehaviorCollection Class Members

The following tables list the members exposed by EditingBehaviorCollection.

Public Constructors
 NameDescription
Public ConstructorEditingBehaviorCollection ConstructorOverloaded.   
Protected Fields
Public Properties
 NameDescription
Public PropertyCapacityGets or sets the number of elements that the System.Collections.CollectionBase can contain. (Inherited from System.Collections.CollectionBase)
Public PropertyCellEditingReference to the cell editing behavior. If the behavior is not present inside of the collection at the moment of request null is returned. To create the behavior use helper method Infragistics.Web.UI.GridControls.GridBehaviorCollection.CreateBehavior``1.  
Public PropertyCountGets the number of elements contained in the System.Collections.CollectionBase instance. This property cannot be overridden. (Inherited from System.Collections.CollectionBase)
Public PropertyEditingBehaviorReference to the editing behavior.  
Public PropertyIsReadOnlyReturns true if the collection is read-only (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public PropertyItemIndexer of the collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorCollection)
Public PropertyRowAddingReference to the row adding behavior. If the behavior is not present inside of the collection at the moment of request null is returned. To create the behavior use helper method Infragistics.Web.UI.GridControls.GridBehaviorCollection.CreateBehavior``1.  
Public PropertyRowDeletingReference to the row deleting behavior. If the behavior is not present inside of the collection at the moment of request null is returned. To create the behavior use helper method Infragistics.Web.UI.GridControls.GridBehaviorCollection.CreateBehavior``1.  
Public PropertyRowEditingReference to the row editing behavior. If the behavior is not present inside of the collection at the moment of request null is returned. To create the behavior use helper method Infragistics.Web.UI.GridControls.GridBehaviorCollection.CreateBehavior``1.  
Public PropertyRowEditTemplateReference to the row editing template behavior. If the behavior is not present inside of the collection at the moment of request null is returned. To create the behavior use helper method Infragistics.Web.UI.GridControls.GridBehaviorCollection.CreateBehavior``1.  
Protected Properties
 NameDescription
Protected PropertyGridThe WebDataGrid that these behaviors belong to. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorCollection)
Protected PropertyHasViewStateJournal (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected PropertyInnerListGets an System.Collections.ArrayList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected PropertyListGets an System.Collections.IList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected PropertyViewStateJournalThe parent owner to which this object belongs. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public Methods
 NameDescription
Public MethodAddAdds a new behavior to the collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorCollection)
Public MethodClearOverloaded. Clears the Behaviors collection (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorCollection)
Public MethodContainsReturns true if the collection contains this item (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public MethodCreateBehavior<TBehavior>Looks for the behavior of provided type in the collection. If found a reference to the behavior is returned, otherwise the behavior is created and added to the collection. This method will be able to locate the already created behavior only after the grid has loaded its view state. If this method is called before the control has a chance to process its view state the creation of the behavior should only be done on initial render, not on postbacks. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorCollection)
Public MethodGetBehaviorOverloaded. Gets a behavior by its name. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorCollection)
Public MethodGetBehaviorByInterface<TInterface>Gets a behavior by its interface. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorCollection)
Public MethodGetBehaviorByTypeGets a behavior by its type. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorCollection)
Public MethodGetEnumeratorReturns an enumerator that iterates through the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Public MethodGetRoleCountGets total number of the application styling roles implemented by the behaviors in the collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorCollection)
Public MethodIndexOfReturns the index of the object in the collection (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public MethodLoadSettingsImplements LoadSettings of ISupportPersistence. Behaviors are theated as a complex object, not as collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorCollection)
Public MethodRemoveRemoves a behavior from the collection (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorCollection)
Public MethodRemoveAt (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public MethodSaveSettingsImplements SaveSettings of ISupportPersistence. SkipEmptyChild should be set to false in order to persist a behavior even if the behavior has nothing to persist except itself. Nothing to persist means that all of its props are having their defalts. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorCollection)
Public MethodSetDirtyMarks the ViewState of every object in the collection as Dirty so that it gets stored for round tripping to the client and back. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public MethodToStringOverride. String representstion of the object. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorCollection)
Protected Methods
 NameDescription
Protected MethodCreateViewStateJournal (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodInternalAddAppends the object to the collection (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodInternalClearOverloaded. Clears the internal collection data structure (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodInternalMoveMoves an item from one index to another within the collection (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodInternalRemoveOverloaded. Removes an item from the collection (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodLoadViewState (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodLoadViewStateItems (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodOnClear (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorCollection)
Protected MethodOnClearCompletePerforms additional custom processes after clearing the contents of the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnInsertPerforms additional custom processes before inserting a new element into the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnInsertCompletePerforms additional custom processes after inserting a new element into the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnRemoveClears associated Template when an object is removed from the collection. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodOnRemoveCompletePerforms additional custom processes after removing an element from the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnSetPerforms additional custom processes before setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnSetCompletePerforms additional custom processes after setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnValidateValidates that the value is not null. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodSaveViewState (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodSaveViewStateItems (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodShouldSerializeCellEditingDetermines if CellEditing is persisted  
Protected MethodShouldSerializeRowAddingDetermines if RowAdding is persisted  
Protected MethodShouldSerializeRowDeletingDetermines if RowDeleting is persisted  
Protected MethodShouldSerializeRowEditingDetermines if RowEditing is persisted  
Protected MethodShouldSerializeRowEditTemplateDetermines if RowEditTemplate is persisted  
Protected MethodThrowMissingBehaviorExceptionThrows a NullReferenceException with a custom message about the behavior not being added. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorCollection)
Protected MethodValidateOwner (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorCollection)
See Also