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
- BinaryWriter.cs
- SQLBytesStorage.cs
- PathFigureCollectionConverter.cs
- GridViewAutomationPeer.cs
- EnvelopeVersion.cs
- PropertyManager.cs
- ResourceSet.cs
- RedistVersionInfo.cs
- CachedTypeface.cs
- Transform.cs
- InternalConfigRoot.cs
- ConfigXmlComment.cs
- EntityContainerRelationshipSetEnd.cs
- StylusDownEventArgs.cs
- HelpKeywordAttribute.cs
- Evidence.cs
- SystemDiagnosticsSection.cs
- BindingUtils.cs
- Logging.cs
- SupportingTokenSpecification.cs
- IgnoreSection.cs
- EntityStoreSchemaGenerator.cs
- MdImport.cs
- QueryProcessor.cs
- URLMembershipCondition.cs
- ProtocolReflector.cs
- LazyTextWriterCreator.cs
- XmlLanguage.cs
- DependencyProperty.cs
- DataGridViewAutoSizeModeEventArgs.cs
- BitmapEditor.cs
- Utilities.cs
- FastPropertyAccessor.cs
- BaseTemplateCodeDomTreeGenerator.cs
- SerializationEventsCache.cs
- NextPreviousPagerField.cs
- SuppressIldasmAttribute.cs
- ThicknessKeyFrameCollection.cs
- ListViewDeleteEventArgs.cs
- CodeDelegateCreateExpression.cs
- SynchronizingStream.cs
- ThreadExceptionDialog.cs
- PropertyKey.cs
- SessionIDManager.cs
- TextDecorations.cs
- CatalogPartCollection.cs
- PointLight.cs
- GACMembershipCondition.cs
- ClaimSet.cs
- OleDbPropertySetGuid.cs
- PTManager.cs
- EventDescriptor.cs
- EntityDataSource.cs
- SpellerError.cs
- SignatureResourceHelper.cs
- MarkupExtensionSerializer.cs
- DataRelationCollection.cs
- PropertyPushdownHelper.cs
- ButtonField.cs
- TextEffect.cs
- DispatchWrapper.cs
- ResourceDescriptionAttribute.cs
- MultiAsyncResult.cs
- SafeReadContext.cs
- EventLogQuery.cs
- CharAnimationUsingKeyFrames.cs
- AssemblyBuilderData.cs
- XhtmlBasicLabelAdapter.cs
- IPGlobalProperties.cs
- RepeatInfo.cs
- InvokePatternIdentifiers.cs
- ObjectCloneHelper.cs
- PreProcessor.cs
- MaskDescriptors.cs
- serverconfig.cs
- GlyphTypeface.cs
- PropertyEntry.cs
- WebPartVerb.cs
- IPHostEntry.cs
- SelectedGridItemChangedEvent.cs
- DebuggerAttributes.cs
- WizardPanel.cs
- ToolStripDropDownClosingEventArgs.cs
- Wizard.cs
- XmlSchemaComplexType.cs
- ListViewDataItem.cs
- EncoderBestFitFallback.cs
- PropertyChangedEventArgs.cs
- StickyNoteAnnotations.cs
- SqlConnectionManager.cs
- MissingSatelliteAssemblyException.cs
- Char.cs
- DoubleLinkListEnumerator.cs
- WebReferencesBuildProvider.cs
- ExtensionDataReader.cs
- EdmError.cs
- FormatConvertedBitmap.cs
- SHA256Managed.cs
- Native.cs
- BCLDebug.cs