Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / FormViewRow.cs / 1 / FormViewRow.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class FormViewRow : TableRow { private int _itemIndex; private DataControlRowType _rowType; private DataControlRowState _rowState; ///Represents an individual row in the ///. /// public FormViewRow(int itemIndex, DataControlRowType rowType, DataControlRowState rowState) { this._itemIndex = itemIndex; this._rowType = rowType; this._rowState = rowState; } ///Initializes a new instance of the ///class. /// public virtual int ItemIndex { get { return _itemIndex; } } ///Indicates the index of the item in the ///. This property is /// read-only. /// public virtual DataControlRowState RowState { get { return _rowState; } } ///Indicates the type of the row in the ///. /// public virtual DataControlRowType RowType { get { return _rowType; } } ///Indicates the type of the row in the ///. /// /// protected override bool OnBubbleEvent(object source, EventArgs e) { if (e is CommandEventArgs) { FormViewCommandEventArgs args = new FormViewCommandEventArgs(source, (CommandEventArgs)e); RaiseBubbleEvent(this, args); return true; } return false; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class FormViewRow : TableRow { private int _itemIndex; private DataControlRowType _rowType; private DataControlRowState _rowState; ///Represents an individual row in the ///. /// public FormViewRow(int itemIndex, DataControlRowType rowType, DataControlRowState rowState) { this._itemIndex = itemIndex; this._rowType = rowType; this._rowState = rowState; } ///Initializes a new instance of the ///class. /// public virtual int ItemIndex { get { return _itemIndex; } } ///Indicates the index of the item in the ///. This property is /// read-only. /// public virtual DataControlRowState RowState { get { return _rowState; } } ///Indicates the type of the row in the ///. /// public virtual DataControlRowType RowType { get { return _rowType; } } ///Indicates the type of the row in the ///. /// /// protected override bool OnBubbleEvent(object source, EventArgs e) { if (e is CommandEventArgs) { FormViewCommandEventArgs args = new FormViewCommandEventArgs(source, (CommandEventArgs)e); RaiseBubbleEvent(this, args); return true; } return false; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DateTimeValueSerializer.cs
- CatalogZoneBase.cs
- Interlocked.cs
- WebPartChrome.cs
- ArrangedElement.cs
- NativeCompoundFileAPIs.cs
- ObjectSet.cs
- PasswordRecovery.cs
- BindToObject.cs
- LinearKeyFrames.cs
- FileDialogPermission.cs
- SqlDuplicator.cs
- OpenFileDialog.cs
- TextInfo.cs
- WebPartActionVerb.cs
- EntityContainerAssociationSet.cs
- GridViewRow.cs
- _KerberosClient.cs
- DataGridViewRowPrePaintEventArgs.cs
- ModelItemCollectionImpl.cs
- ReaderWriterLockWrapper.cs
- HostingEnvironmentException.cs
- UndoManager.cs
- EventLogPermissionEntryCollection.cs
- CollectionEditorDialog.cs
- OdbcCommand.cs
- CapabilitiesAssignment.cs
- ReflectionServiceProvider.cs
- ServiceEndpointCollection.cs
- ToolStripDropDown.cs
- MultiView.cs
- TypeConverterAttribute.cs
- AsyncOperationManager.cs
- GenericWebPart.cs
- VScrollProperties.cs
- dsa.cs
- EmptyEnumerator.cs
- XmlAttributeAttribute.cs
- SponsorHelper.cs
- TransactionProtocol.cs
- EdmPropertyAttribute.cs
- ChangeNode.cs
- CroppedBitmap.cs
- CqlBlock.cs
- ChannelEndpointElement.cs
- TextTreeFixupNode.cs
- ContainerCodeDomSerializer.cs
- DataGridViewRowsAddedEventArgs.cs
- SerializationObjectManager.cs
- BrowserPolicyValidator.cs
- SerializationInfoEnumerator.cs
- ContentPosition.cs
- FilteredAttributeCollection.cs
- CalendarDayButton.cs
- InvalidTimeZoneException.cs
- InternalEnumValidator.cs
- LayoutTable.cs
- TableRowCollection.cs
- SqlDataSourceEnumerator.cs
- UdpDiscoveryEndpoint.cs
- TransformedBitmap.cs
- VideoDrawing.cs
- PassportAuthenticationEventArgs.cs
- DataObjectMethodAttribute.cs
- SoapIgnoreAttribute.cs
- MouseGesture.cs
- DSACryptoServiceProvider.cs
- AutomationTextAttribute.cs
- MachineKeyValidationConverter.cs
- RuleSettingsCollection.cs
- Pair.cs
- ContainerVisual.cs
- ObjectListField.cs
- storagemappingitemcollection.viewdictionary.cs
- UshortList2.cs
- Menu.cs
- DataGridViewColumnCollection.cs
- DataGridViewTextBoxEditingControl.cs
- SqlDelegatedTransaction.cs
- SignedXml.cs
- Int16Animation.cs
- SqlExpander.cs
- UpdateTranslator.cs
- MonikerHelper.cs
- DataMemberFieldConverter.cs
- EntityDesignerUtils.cs
- SchemaImporterExtension.cs
- Win32Exception.cs
- X509Certificate.cs
- StrokeNodeOperations.cs
- ResetableIterator.cs
- _CookieModule.cs
- WaitHandle.cs
- FlowLayout.cs
- AccessibleObject.cs
- regiisutil.cs
- ObjectSecurityT.cs
- SQLDecimalStorage.cs
- FunctionImportElement.cs
- SerializationInfoEnumerator.cs