Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // //----------------------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FileDialog_Vista_Interop.cs
- Relationship.cs
- DeobfuscatingStream.cs
- EntityUtil.cs
- MsmqBindingElementBase.cs
- MsmqOutputChannel.cs
- SessionSwitchEventArgs.cs
- MembershipSection.cs
- AlternateViewCollection.cs
- TextSegment.cs
- ActivityCodeDomSerializer.cs
- OptimisticConcurrencyException.cs
- StorageEntityContainerMapping.cs
- RenderingBiasValidation.cs
- StringFreezingAttribute.cs
- PrintController.cs
- BoundConstants.cs
- DispatcherProcessingDisabled.cs
- GroupBoxAutomationPeer.cs
- RemoteCryptoRsaServiceProvider.cs
- Stroke2.cs
- BinaryNode.cs
- CellIdBoolean.cs
- MsmqBindingFilter.cs
- MappingMetadataHelper.cs
- StringFormat.cs
- TextEndOfParagraph.cs
- SoapIgnoreAttribute.cs
- TypedReference.cs
- AppDomainUnloadedException.cs
- FocusTracker.cs
- NativeMethods.cs
- EventLogger.cs
- OrthographicCamera.cs
- OutOfProcStateClientManager.cs
- CellParagraph.cs
- SchemaTypeEmitter.cs
- CodeEventReferenceExpression.cs
- HashRepartitionStream.cs
- EncoderFallback.cs
- sqlnorm.cs
- Misc.cs
- SystemPens.cs
- FileDialogCustomPlacesCollection.cs
- NotificationContext.cs
- LinqExpressionNormalizer.cs
- ToolStripSplitButton.cs
- UnknownBitmapEncoder.cs
- HandlerBase.cs
- MenuItemStyleCollection.cs
- DataSvcMapFile.cs
- EventLogPropertySelector.cs
- RsaSecurityToken.cs
- ViewKeyConstraint.cs
- PeerNameResolver.cs
- RuntimeArgumentHandle.cs
- GeometryCollection.cs
- TagPrefixAttribute.cs
- NavigateEvent.cs
- DoWorkEventArgs.cs
- CheckBoxField.cs
- SoapElementAttribute.cs
- Internal.cs
- TextTreeInsertElementUndoUnit.cs
- ElementsClipboardData.cs
- ManagedWndProcTracker.cs
- MenuBindingsEditor.cs
- DataGridViewRowCollection.cs
- DataGridViewRowConverter.cs
- HostProtectionPermission.cs
- SqlNodeAnnotation.cs
- BuildProvidersCompiler.cs
- MappingMetadataHelper.cs
- DeviceContext.cs
- HtmlShim.cs
- ColumnBinding.cs
- PropertyEmitter.cs
- Attributes.cs
- input.cs
- WebPartVerbCollection.cs
- AdapterUtil.cs
- Atom10FeedFormatter.cs
- EmptyStringExpandableObjectConverter.cs
- PkcsMisc.cs
- LocatorPart.cs
- DurableEnlistmentState.cs
- CompilationUtil.cs
- SQLUtility.cs
- RSACryptoServiceProvider.cs
- PageCache.cs
- XmlAttribute.cs
- Pen.cs
- DragEventArgs.cs
- CharEntityEncoderFallback.cs
- CompareInfo.cs
- StorageMappingItemLoader.cs
- MenuBase.cs
- RegisteredArrayDeclaration.cs
- Constraint.cs
- XmlWrappingWriter.cs