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
- Math.cs
- Control.cs
- DelegatedStream.cs
- DataGridViewRowConverter.cs
- MenuRenderer.cs
- SqlProviderUtilities.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- HttpAsyncResult.cs
- ReturnEventArgs.cs
- CacheAxisQuery.cs
- CompositeFontParser.cs
- ContractMapping.cs
- InfoCardRSACryptoProvider.cs
- SqlCacheDependencySection.cs
- NestPullup.cs
- ReadWriteObjectLock.cs
- SourceCollection.cs
- DataError.cs
- InfocardExtendedInformationCollection.cs
- FontFamilyConverter.cs
- LinqDataSourceEditData.cs
- MailAddressCollection.cs
- DataStorage.cs
- RegexGroup.cs
- LayoutEditorPart.cs
- HMAC.cs
- PasswordPropertyTextAttribute.cs
- StringInfo.cs
- UnmanagedMemoryStream.cs
- CompositeFontInfo.cs
- TransportChannelFactory.cs
- MailBnfHelper.cs
- CqlWriter.cs
- DataSourceSelectArguments.cs
- WhitespaceRule.cs
- JsonQNameDataContract.cs
- IgnoreFileBuildProvider.cs
- StaticTextPointer.cs
- WeakHashtable.cs
- AccessorTable.cs
- TemplateInstanceAttribute.cs
- XPathDocumentNavigator.cs
- PageParser.cs
- FreeFormPanel.cs
- WindowsToolbar.cs
- AssemblyResolver.cs
- sqlnorm.cs
- XmlUrlResolver.cs
- RegexMatchCollection.cs
- ActionMessageFilterTable.cs
- TimelineGroup.cs
- BinaryMessageEncodingBindingElement.cs
- SchemaImporterExtensionsSection.cs
- RepeaterItem.cs
- ProcessHostMapPath.cs
- ColorConverter.cs
- SqlNodeAnnotation.cs
- GlobalizationSection.cs
- SuppressMergeCheckAttribute.cs
- EndpointDesigner.cs
- DesignerSerializerAttribute.cs
- SelectedDatesCollection.cs
- HMACMD5.cs
- IgnoreFlushAndCloseStream.cs
- _FixedSizeReader.cs
- CompositeActivityMarkupSerializer.cs
- Int32EqualityComparer.cs
- StatusBarAutomationPeer.cs
- MsmqHostedTransportConfiguration.cs
- CmsUtils.cs
- XmlElementList.cs
- UnsafeNativeMethods.cs
- DES.cs
- ConnectionProviderAttribute.cs
- WebPartDeleteVerb.cs
- Grant.cs
- TdsParserSafeHandles.cs
- LowerCaseStringConverter.cs
- HostSecurityManager.cs
- ControlIdConverter.cs
- Statements.cs
- GridItemCollection.cs
- StrongNameIdentityPermission.cs
- Application.cs
- SevenBitStream.cs
- InfoCardSymmetricAlgorithm.cs
- XmlSchemaAttribute.cs
- Win32Exception.cs
- DataSysAttribute.cs
- ListCollectionView.cs
- OdbcReferenceCollection.cs
- DataSourceSelectArguments.cs
- ExpressionCopier.cs
- XpsSerializationManager.cs
- _NetworkingPerfCounters.cs
- UdpChannelListener.cs
- ListControlBoundActionList.cs
- TitleStyle.cs
- XPathBinder.cs
- DataGridViewColumnStateChangedEventArgs.cs