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
- ObfuscationAttribute.cs
- ManagementScope.cs
- LinkUtilities.cs
- OleDbDataAdapter.cs
- ConfigXmlSignificantWhitespace.cs
- GridPattern.cs
- SchemaTableOptionalColumn.cs
- ElementFactory.cs
- HttpApplicationStateBase.cs
- RemoteArgument.cs
- PrinterResolution.cs
- DropTarget.cs
- LocatorPartList.cs
- ComEventsHelper.cs
- WebPartUtil.cs
- MetafileEditor.cs
- SharedPerformanceCounter.cs
- DataGridViewElement.cs
- InputBuffer.cs
- DragEventArgs.cs
- UshortList2.cs
- DataGridViewElement.cs
- RuntimeConfig.cs
- CompositionAdorner.cs
- VirtualPath.cs
- ProfileService.cs
- HistoryEventArgs.cs
- GrammarBuilder.cs
- ExceptionList.cs
- ObjectItemAssemblyLoader.cs
- XmlSecureResolver.cs
- WaitHandle.cs
- FacetDescription.cs
- EntityWithKeyStrategy.cs
- AssemblyAttributes.cs
- UnsignedPublishLicense.cs
- IImplicitResourceProvider.cs
- BoolExpression.cs
- safelinkcollection.cs
- ConstraintConverter.cs
- OrderByBuilder.cs
- DragStartedEventArgs.cs
- SimpleBitVector32.cs
- ConnectionConsumerAttribute.cs
- RegexRunnerFactory.cs
- FlowDocumentReaderAutomationPeer.cs
- CreateUserErrorEventArgs.cs
- LocalBuilder.cs
- DateTimeParse.cs
- UnsignedPublishLicense.cs
- RuleInfoComparer.cs
- Misc.cs
- WsdlServiceChannelBuilder.cs
- PlainXmlWriter.cs
- QilStrConcat.cs
- SessionParameter.cs
- Focus.cs
- ScriptDescriptor.cs
- SemaphoreFullException.cs
- RuntimeComponentFilter.cs
- ComEventsInfo.cs
- DbConnectionStringBuilder.cs
- ListViewInsertEventArgs.cs
- Literal.cs
- KeyValuePair.cs
- EditorOptionAttribute.cs
- DbParameterHelper.cs
- PatternMatchRules.cs
- WebOperationContext.cs
- ZipIORawDataFileBlock.cs
- SiteMapNodeItemEventArgs.cs
- NotSupportedException.cs
- DataListCommandEventArgs.cs
- StringDictionary.cs
- DES.cs
- FileFormatException.cs
- DataGridViewRowStateChangedEventArgs.cs
- ProcessInfo.cs
- XmlSchemaAttributeGroup.cs
- Attributes.cs
- SQLChars.cs
- LineSegment.cs
- EventBuilder.cs
- HttpListenerContext.cs
- AsyncOperationManager.cs
- ToolStripItemClickedEventArgs.cs
- DataControlImageButton.cs
- PropertyToken.cs
- TextAdaptor.cs
- XmlNamedNodeMap.cs
- GeometryModel3D.cs
- RIPEMD160.cs
- LastQueryOperator.cs
- InvokePatternIdentifiers.cs
- InvokeMethod.cs
- HTTPNotFoundHandler.cs
- ProtocolElement.cs
- ConfigurationManagerHelperFactory.cs
- DBDataPermission.cs
- StrokeNodeOperations2.cs