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 / 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
- DoubleAnimationUsingKeyFrames.cs
- XamlTypeMapper.cs
- DisplayMemberTemplateSelector.cs
- Propagator.JoinPropagator.cs
- SqlBulkCopyColumnMapping.cs
- EncoderParameter.cs
- CurrentChangedEventManager.cs
- TabRenderer.cs
- DummyDataSource.cs
- AggregatePushdown.cs
- EventLogPermissionAttribute.cs
- ZoneIdentityPermission.cs
- TrackingWorkflowEventArgs.cs
- SiteMembershipCondition.cs
- SHA1.cs
- CatalogPartChrome.cs
- TextRenderer.cs
- XmlConvert.cs
- Helpers.cs
- UnsafeNativeMethods.cs
- TextDecorations.cs
- ProxyManager.cs
- SrgsElementFactory.cs
- ZipIOExtraFieldElement.cs
- TreeViewCancelEvent.cs
- Exception.cs
- MessageEventSubscriptionService.cs
- TextOnlyOutput.cs
- TdsValueSetter.cs
- ValueSerializer.cs
- WhitespaceSignificantCollectionAttribute.cs
- SamlNameIdentifierClaimResource.cs
- PageCatalogPart.cs
- Utils.cs
- HopperCache.cs
- Substitution.cs
- MemberDescriptor.cs
- DesignerActionItem.cs
- MaskInputRejectedEventArgs.cs
- Int64AnimationUsingKeyFrames.cs
- MiniLockedBorderGlyph.cs
- EncryptedPackageFilter.cs
- NullableConverter.cs
- MetadataItemCollectionFactory.cs
- ModelChangedEventArgsImpl.cs
- AppDomainProtocolHandler.cs
- MatrixTransform3D.cs
- EventMappingSettings.cs
- ComAdminInterfaces.cs
- ImageMapEventArgs.cs
- ConsoleTraceListener.cs
- IsolatedStorageException.cs
- DrawingContextDrawingContextWalker.cs
- KeyProperty.cs
- SqlBulkCopy.cs
- BinaryObjectWriter.cs
- SoapFormatExtensions.cs
- TiffBitmapEncoder.cs
- RouteCollection.cs
- IdentitySection.cs
- DrawingAttributeSerializer.cs
- Transform3D.cs
- MailAddress.cs
- ObjectStateEntryDbDataRecord.cs
- CodeNamespaceImport.cs
- MailBnfHelper.cs
- EntityModelSchemaGenerator.cs
- AppModelKnownContentFactory.cs
- NetMsmqBinding.cs
- EntryWrittenEventArgs.cs
- AutomationPatternInfo.cs
- MarkupCompilePass2.cs
- Vector3D.cs
- SqlMultiplexer.cs
- EncryptedType.cs
- InvalidComObjectException.cs
- DefaultShape.cs
- EventSourceCreationData.cs
- ProtectedUri.cs
- MetafileHeader.cs
- InvalidEnumArgumentException.cs
- XmlImplementation.cs
- SelectingProviderEventArgs.cs
- WebPartVerb.cs
- BaseDataList.cs
- AuthenticateEventArgs.cs
- PropertyFilterAttribute.cs
- SdlChannelSink.cs
- _NtlmClient.cs
- EmptyEnumerator.cs
- XomlCompilerParameters.cs
- ProfileEventArgs.cs
- CompiledQueryCacheKey.cs
- ProcessModule.cs
- ClrPerspective.cs
- ExternalCalls.cs
- BuildProvider.cs
- HtmlToClrEventProxy.cs
- Pointer.cs
- DynamicHyperLink.cs