Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- StorageConditionPropertyMapping.cs
- QueryCacheKey.cs
- EventLogReader.cs
- PieceNameHelper.cs
- HtmlControl.cs
- FocusTracker.cs
- XmlDocumentSerializer.cs
- VarRefManager.cs
- OuterGlowBitmapEffect.cs
- InstancePersistenceCommand.cs
- RelationshipManager.cs
- OleDbStruct.cs
- Ray3DHitTestResult.cs
- CompositeDuplexBindingElement.cs
- FunctionDescription.cs
- CompareInfo.cs
- XmlRawWriter.cs
- sqlnorm.cs
- ObjectSet.cs
- Tokenizer.cs
- OutputCache.cs
- TextControl.cs
- ExtensionQuery.cs
- TableColumn.cs
- DoubleLinkList.cs
- CollectionCodeDomSerializer.cs
- CreateSequence.cs
- DataGridHyperlinkColumn.cs
- ExtendedProperty.cs
- BinaryObjectWriter.cs
- X509UI.cs
- NestPullup.cs
- PropertyIDSet.cs
- PageAsyncTaskManager.cs
- SessionParameter.cs
- AdornedElementPlaceholder.cs
- Variable.cs
- PerformanceCounterPermissionEntryCollection.cs
- DataSourceCache.cs
- DesignTimeParseData.cs
- CircleHotSpot.cs
- DataException.cs
- _TransmitFileOverlappedAsyncResult.cs
- DataError.cs
- ListSortDescription.cs
- WebPartManagerInternals.cs
- SaveLedgerEntryRequest.cs
- RadioButtonAutomationPeer.cs
- NameTable.cs
- NavigationProperty.cs
- ApplicationInfo.cs
- XmlHelper.cs
- TextSelectionProcessor.cs
- UInt64Storage.cs
- TextEndOfSegment.cs
- ErasingStroke.cs
- DataErrorValidationRule.cs
- Panel.cs
- DynamicControlParameter.cs
- SendReply.cs
- AnnotationService.cs
- PageThemeCodeDomTreeGenerator.cs
- ExpressionReplacer.cs
- PartitionerStatic.cs
- AssociationEndMember.cs
- CharacterString.cs
- XmlSchemaIdentityConstraint.cs
- ClusterSafeNativeMethods.cs
- AuthenticationService.cs
- Trace.cs
- XmlLanguage.cs
- CommandPlan.cs
- Misc.cs
- FlowNode.cs
- XmlSiteMapProvider.cs
- DataGridColumnReorderingEventArgs.cs
- SqlDataSourceView.cs
- AccessorTable.cs
- HMACSHA512.cs
- RestHandler.cs
- BooleanSwitch.cs
- StoragePropertyMapping.cs
- Misc.cs
- Table.cs
- LocationUpdates.cs
- DocumentGridPage.cs
- AutomationIdentifierGuids.cs
- WebScriptServiceHost.cs
- File.cs
- ConfigXmlComment.cs
- CachedBitmap.cs
- ZipIOCentralDirectoryFileHeader.cs
- DeflateEmulationStream.cs
- ColumnTypeConverter.cs
- ContainerFilterService.cs
- DrawingCollection.cs
- DelayedRegex.cs
- CqlBlock.cs
- TemplateKey.cs
- RenderDataDrawingContext.cs