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
- DateTimeFormatInfoScanner.cs
- File.cs
- HttpException.cs
- InstanceDataCollection.cs
- CodeIdentifiers.cs
- FormsAuthenticationCredentials.cs
- ActivityLocationReferenceEnvironment.cs
- RemoteX509AsymmetricSecurityKey.cs
- keycontainerpermission.cs
- VisualProxy.cs
- WSSecurityXXX2005.cs
- ScheduleChanges.cs
- EntityProviderServices.cs
- NameService.cs
- XmlDocumentViewSchema.cs
- OdbcConnectionPoolProviderInfo.cs
- safex509handles.cs
- StrokeNodeOperations.cs
- PathFigureCollection.cs
- PartitionerStatic.cs
- InstanceData.cs
- IApplicationTrustManager.cs
- LinkUtilities.cs
- D3DImage.cs
- Literal.cs
- AlphabetConverter.cs
- Tokenizer.cs
- ApplicationId.cs
- DateTimeOffset.cs
- XmlSchema.cs
- DbConnectionInternal.cs
- PageThemeParser.cs
- GridViewEditEventArgs.cs
- TypeResolver.cs
- EntityDataSourceState.cs
- MenuItemCollectionEditor.cs
- SerTrace.cs
- WebPartManagerInternals.cs
- PersistenceIOParticipant.cs
- TaiwanLunisolarCalendar.cs
- mactripleDES.cs
- DetailsView.cs
- TrustLevel.cs
- InternalSafeNativeMethods.cs
- ServiceDefaults.cs
- TableLayoutRowStyleCollection.cs
- counter.cs
- CompositionDesigner.cs
- RangeValuePattern.cs
- ExtendedPropertyCollection.cs
- InputLanguageEventArgs.cs
- TypeElement.cs
- PeerTransportSecurityElement.cs
- ProfilePropertyMetadata.cs
- RecordBuilder.cs
- FixedBufferAttribute.cs
- BooleanProjectedSlot.cs
- DurableInstanceManager.cs
- TextSelection.cs
- PathFigure.cs
- UnmanagedMemoryStreamWrapper.cs
- MasterPage.cs
- DefaultSerializationProviderAttribute.cs
- XPathNode.cs
- BoundColumn.cs
- ItemType.cs
- DesignerDataColumn.cs
- coordinatorscratchpad.cs
- XpsInterleavingPolicy.cs
- SyndicationElementExtensionCollection.cs
- LinqDataSourceUpdateEventArgs.cs
- EncoderBestFitFallback.cs
- ServicesUtilities.cs
- CodeAccessSecurityEngine.cs
- PageAsyncTaskManager.cs
- WindowsSysHeader.cs
- CellParagraph.cs
- ExpressionEditorSheet.cs
- ScriptRef.cs
- Stylus.cs
- CodeGenerator.cs
- SiteMapNodeCollection.cs
- WindowsFormsHostAutomationPeer.cs
- SafeEventLogReadHandle.cs
- AffineTransform3D.cs
- FormViewCommandEventArgs.cs
- SchemaImporterExtensionElementCollection.cs
- XsdValidatingReader.cs
- InputScopeAttribute.cs
- SafeHGlobalHandleCritical.cs
- TraceContextRecord.cs
- DashStyle.cs
- ScrollChrome.cs
- HMAC.cs
- JpegBitmapDecoder.cs
- SkewTransform.cs
- ContainsSearchOperator.cs
- DispatcherFrame.cs
- DPCustomTypeDescriptor.cs
- SupportsEventValidationAttribute.cs