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 / DetailsViewRow.cs / 1 / DetailsViewRow.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 DetailsViewRow : TableRow { private int _rowIndex; private DataControlRowType _rowType; private DataControlRowState _rowState; ///Represents an individual row in the ///. /// public DetailsViewRow(int rowIndex, DataControlRowType rowType, DataControlRowState rowState) { this._rowIndex = rowIndex; this._rowType = rowType; this._rowState = rowState; } ///Initializes a new instance of the ///class. /// public virtual int RowIndex { get { return _rowIndex; } } ///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) { DetailsViewCommandEventArgs args = new DetailsViewCommandEventArgs(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 DetailsViewRow : TableRow { private int _rowIndex; private DataControlRowType _rowType; private DataControlRowState _rowState; ///Represents an individual row in the ///. /// public DetailsViewRow(int rowIndex, DataControlRowType rowType, DataControlRowState rowState) { this._rowIndex = rowIndex; this._rowType = rowType; this._rowState = rowState; } ///Initializes a new instance of the ///class. /// public virtual int RowIndex { get { return _rowIndex; } } ///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) { DetailsViewCommandEventArgs args = new DetailsViewCommandEventArgs(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
- Imaging.cs
- Dictionary.cs
- SoapMessage.cs
- SingleTagSectionHandler.cs
- CellCreator.cs
- DataGridColumnStyleMappingNameEditor.cs
- TableLayoutStyle.cs
- SqlXmlStorage.cs
- PersonalizationProviderCollection.cs
- DefaultWorkflowLoaderService.cs
- BitVec.cs
- EventProxy.cs
- Compiler.cs
- _SecureChannel.cs
- SharedPersonalizationStateInfo.cs
- _ProxyChain.cs
- KeyInterop.cs
- Parameter.cs
- SqlNotificationRequest.cs
- QueryCursorEventArgs.cs
- QueryReaderSettings.cs
- DefaultProxySection.cs
- XmlObjectSerializer.cs
- VisualBasicHelper.cs
- ResXFileRef.cs
- UiaCoreApi.cs
- DataGridColumnHeaderAutomationPeer.cs
- WebBrowserNavigatedEventHandler.cs
- ScopelessEnumAttribute.cs
- XmlSchemaParticle.cs
- StrongNameIdentityPermission.cs
- Matrix3D.cs
- SystemIPv6InterfaceProperties.cs
- ColorPalette.cs
- AlphabeticalEnumConverter.cs
- ObjectDisposedException.cs
- Avt.cs
- DataGridViewColumnCollectionEditor.cs
- WindowsSlider.cs
- WorkflowPersistenceService.cs
- ButtonFlatAdapter.cs
- ExtensibleClassFactory.cs
- XmlSchemaRedefine.cs
- CriticalHandle.cs
- KeyValueConfigurationCollection.cs
- SHA512Cng.cs
- ECDsa.cs
- StateFinalizationActivity.cs
- DBCSCodePageEncoding.cs
- Timer.cs
- ToolStripScrollButton.cs
- NavigatingCancelEventArgs.cs
- TextSelectionHighlightLayer.cs
- MetafileHeaderEmf.cs
- MergeLocalizationDirectives.cs
- FixedDocumentSequencePaginator.cs
- RegexWorker.cs
- ContentFilePart.cs
- SizeKeyFrameCollection.cs
- SqlDependencyUtils.cs
- WorkflowRuntimeSection.cs
- CursorInteropHelper.cs
- UpdatePanelControlTrigger.cs
- Html32TextWriter.cs
- fixedPageContentExtractor.cs
- StringToken.cs
- SpecularMaterial.cs
- WebPartMenuStyle.cs
- TransformerTypeCollection.cs
- CryptoStream.cs
- DependencyPropertyAttribute.cs
- EntityDataSourceStatementEditor.cs
- DataErrorValidationRule.cs
- RenderDataDrawingContext.cs
- DaylightTime.cs
- EncoderParameters.cs
- XmlNode.cs
- ChtmlCommandAdapter.cs
- CodeStatementCollection.cs
- _Events.cs
- TextBoxAutoCompleteSourceConverter.cs
- CopyNodeSetAction.cs
- InitializerFacet.cs
- SystemTcpConnection.cs
- TransformerInfoCollection.cs
- EditorAttribute.cs
- ISAPIWorkerRequest.cs
- Base64Encoding.cs
- WorkflowWebHostingModule.cs
- altserialization.cs
- WebReferencesBuildProvider.cs
- DbProviderFactoriesConfigurationHandler.cs
- UserPreferenceChangingEventArgs.cs
- RadioButtonRenderer.cs
- DeploymentExceptionMapper.cs
- DataGridViewImageColumn.cs
- ScrollChangedEventArgs.cs
- DataObject.cs
- ServerValidateEventArgs.cs
- XhtmlBasicLinkAdapter.cs