Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SocketInformation.cs
- BitmapEffectvisualstate.cs
- DiscoveryClientDuplexChannel.cs
- DelimitedListTraceListener.cs
- Stackframe.cs
- ErrorHandler.cs
- ReadOnlyState.cs
- AdornerLayer.cs
- RegionInfo.cs
- SmiEventSink.cs
- Membership.cs
- BindingElementCollection.cs
- XmlDataSourceView.cs
- DuplicateDetector.cs
- CodeGeneratorAttribute.cs
- SecurityListenerSettingsLifetimeManager.cs
- FormsAuthenticationModule.cs
- BinaryParser.cs
- FieldReference.cs
- ConnectionPoint.cs
- NameValueSectionHandler.cs
- NetTcpBinding.cs
- BindMarkupExtensionSerializer.cs
- BinaryObjectWriter.cs
- DesignTimeXamlWriter.cs
- XmlSchemaObject.cs
- MultiAsyncResult.cs
- TextPatternIdentifiers.cs
- ErrorBehavior.cs
- ProtocolViolationException.cs
- DataGridViewCellCollection.cs
- OperatorExpressions.cs
- PenLineCapValidation.cs
- GridItem.cs
- SafeFileMappingHandle.cs
- XmlAutoDetectWriter.cs
- SafeEventLogWriteHandle.cs
- dataprotectionpermission.cs
- CalendarDateRangeChangingEventArgs.cs
- SafePEFileHandle.cs
- FrameworkTemplate.cs
- HitTestParameters3D.cs
- AssemblyCollection.cs
- MatrixKeyFrameCollection.cs
- ObjectStateFormatter.cs
- KnowledgeBase.cs
- StateBag.cs
- SQLBytesStorage.cs
- WebServiceTypeData.cs
- xmlglyphRunInfo.cs
- WebPartsSection.cs
- ConfigurationStrings.cs
- CqlBlock.cs
- SupportsEventValidationAttribute.cs
- FunctionImportMapping.cs
- SqlClientWrapperSmiStreamChars.cs
- QilVisitor.cs
- HostedElements.cs
- Annotation.cs
- SoapFormatterSinks.cs
- SHA512Managed.cs
- FactoryMaker.cs
- CompositeTypefaceMetrics.cs
- Mutex.cs
- XmlDownloadManager.cs
- ColorPalette.cs
- NamespaceCollection.cs
- MsiStyleLogWriter.cs
- ProjectedWrapper.cs
- RNGCryptoServiceProvider.cs
- Stylesheet.cs
- httpstaticobjectscollection.cs
- RoutedPropertyChangedEventArgs.cs
- ListManagerBindingsCollection.cs
- ConfigurationSection.cs
- ReadOnlyNameValueCollection.cs
- ProbeMatches11.cs
- StrongNameUtility.cs
- XomlCompilerHelpers.cs
- HttpListenerException.cs
- Types.cs
- LinqDataSourceDeleteEventArgs.cs
- GorillaCodec.cs
- Vector3DAnimationUsingKeyFrames.cs
- DragEvent.cs
- DataGridViewCellCollection.cs
- XMLSchema.cs
- XamlWrapperReaders.cs
- DataGridViewElement.cs
- XmlDataCollection.cs
- Polyline.cs
- ResourceDictionary.cs
- X509Certificate.cs
- Crypto.cs
- PresentationAppDomainManager.cs
- SQLSingle.cs
- IOThreadScheduler.cs
- DataGridLinkButton.cs
- DefaultAssemblyResolver.cs
- Track.cs