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
- XmlNullResolver.cs
- LambdaCompiler.Logical.cs
- WebException.cs
- XmlArrayAttribute.cs
- EntityDataSourceContextDisposingEventArgs.cs
- FormViewModeEventArgs.cs
- ProbeMatchesMessageCD1.cs
- EntityTransaction.cs
- RoleGroupCollection.cs
- LockedHandleGlyph.cs
- WebPartConnectVerb.cs
- PrintControllerWithStatusDialog.cs
- HttpCacheVaryByContentEncodings.cs
- MetadataSerializer.cs
- FilePrompt.cs
- WebException.cs
- PieceDirectory.cs
- EntityDataSourceDesigner.cs
- HttpWebRequest.cs
- DataColumnChangeEvent.cs
- NumericPagerField.cs
- ThreadStateException.cs
- TypeNameConverter.cs
- FlagsAttribute.cs
- ProfileGroupSettings.cs
- MenuScrollingVisibilityConverter.cs
- ThousandthOfEmRealPoints.cs
- Logging.cs
- InvariantComparer.cs
- StackSpiller.Generated.cs
- RegexCode.cs
- ReadOnlyMetadataCollection.cs
- XamlStyleSerializer.cs
- TimeStampChecker.cs
- DrawingVisualDrawingContext.cs
- SqlRemoveConstantOrderBy.cs
- XsdCachingReader.cs
- Buffer.cs
- GenericEnumerator.cs
- DbConnectionStringCommon.cs
- AbstractDataSvcMapFileLoader.cs
- VisualStyleTypesAndProperties.cs
- TreeNodeSelectionProcessor.cs
- ReferencedCollectionType.cs
- ItemContainerGenerator.cs
- RuntimeWrappedException.cs
- Wrapper.cs
- FieldAccessException.cs
- TextServicesPropertyRanges.cs
- Light.cs
- Queue.cs
- AsyncSerializedWorker.cs
- RenderData.cs
- FilterException.cs
- DispatcherObject.cs
- MultiBinding.cs
- MetabaseServerConfig.cs
- ImageButton.cs
- HostProtectionException.cs
- webbrowsersite.cs
- DataGridViewDataConnection.cs
- CodeMemberProperty.cs
- SmtpLoginAuthenticationModule.cs
- Viewport2DVisual3D.cs
- CreateParams.cs
- ElementFactory.cs
- TypeConstant.cs
- RectangleConverter.cs
- WebPartDeleteVerb.cs
- InteropDesigner.xaml.cs
- MatrixStack.cs
- Item.cs
- HtmlGenericControl.cs
- RectangleHotSpot.cs
- SqlDataSourceView.cs
- DataFormat.cs
- EditorAttribute.cs
- CodeStatementCollection.cs
- IntSecurity.cs
- FixedPageStructure.cs
- DesignerCommandAdapter.cs
- HebrewCalendar.cs
- InstanceCollisionException.cs
- TextRangeEdit.cs
- XslTransform.cs
- UIElementParaClient.cs
- TraceXPathNavigator.cs
- ProjectionCamera.cs
- Utils.cs
- XPathQilFactory.cs
- webproxy.cs
- WebBrowserDocumentCompletedEventHandler.cs
- Operator.cs
- PrintDocument.cs
- BuildProviderAppliesToAttribute.cs
- DbDataReader.cs
- ListViewContainer.cs
- TextCharacters.cs
- CompressionTransform.cs
- ListItemCollection.cs