Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- XmlEntityReference.cs
- QilFactory.cs
- PerformanceCounterPermissionEntry.cs
- ListViewAutomationPeer.cs
- ControlDesignerState.cs
- RemotingServices.cs
- TemplatedWizardStep.cs
- VoiceObjectToken.cs
- RoleManagerModule.cs
- HTTPNotFoundHandler.cs
- WebPartDisplayModeEventArgs.cs
- SerializerProvider.cs
- ReferenceEqualityComparer.cs
- RijndaelManaged.cs
- PointAnimationClockResource.cs
- TypeToArgumentTypeConverter.cs
- XmlNotation.cs
- ListItemsCollectionEditor.cs
- Fault.cs
- ErrorInfoXmlDocument.cs
- ConfigXmlComment.cs
- PeerNearMe.cs
- TypeInfo.cs
- ExtenderProvidedPropertyAttribute.cs
- BulletedList.cs
- CacheSection.cs
- HtmlFormWrapper.cs
- SafeCancelMibChangeNotify.cs
- ReferencedAssembly.cs
- Matrix3D.cs
- ExpressionNode.cs
- ActivityDesignerHighlighter.cs
- CommonGetThemePartSize.cs
- Encoder.cs
- XamlFrame.cs
- RequiredFieldValidator.cs
- RemoteWebConfigurationHostServer.cs
- EncoderParameter.cs
- FullTextLine.cs
- LoaderAllocator.cs
- HttpCacheVaryByContentEncodings.cs
- DecimalAverageAggregationOperator.cs
- BinaryCommonClasses.cs
- ProfileModule.cs
- DataControlExtensions.cs
- complextypematerializer.cs
- DataPagerFieldCommandEventArgs.cs
- SimpleHandlerBuildProvider.cs
- EmbeddedObject.cs
- DropSource.cs
- HwndHostAutomationPeer.cs
- SoapInteropTypes.cs
- HttpModulesInstallComponent.cs
- CreateUserWizardStep.cs
- WsatConfiguration.cs
- RelativeSource.cs
- InitializerFacet.cs
- XNameConverter.cs
- ScriptingProfileServiceSection.cs
- documentsequencetextcontainer.cs
- DocumentViewerConstants.cs
- DataServiceRequestException.cs
- XsltOutput.cs
- TextProperties.cs
- SoapFormatterSinks.cs
- TextBoxLine.cs
- BamlTreeNode.cs
- ExtensionFile.cs
- RangeBaseAutomationPeer.cs
- OpenFileDialog.cs
- Internal.cs
- DATA_BLOB.cs
- ProxyGenerationError.cs
- SessionPageStatePersister.cs
- ArraySegment.cs
- SingleObjectCollection.cs
- ApplicationId.cs
- DocumentApplicationJournalEntry.cs
- TypeListConverter.cs
- ClientUrlResolverWrapper.cs
- ControlPaint.cs
- FixedSOMFixedBlock.cs
- XamlPoint3DCollectionSerializer.cs
- ComponentResourceKeyConverter.cs
- safelinkcollection.cs
- ProfileServiceManager.cs
- KeyTime.cs
- _NestedSingleAsyncResult.cs
- XmlQueryContext.cs
- EntityProxyTypeInfo.cs
- StatusBar.cs
- ApplicationFileCodeDomTreeGenerator.cs
- util.cs
- XmlEntity.cs
- SqlProvider.cs
- XmlSchemaSimpleContentExtension.cs
- DigitShape.cs
- List.cs
- GridViewItemAutomationPeer.cs
- EventPrivateKey.cs