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
- Encoding.cs
- RowParagraph.cs
- AddInControllerImpl.cs
- ContextStack.cs
- ScopeElementCollection.cs
- XmlResolver.cs
- ConstrainedGroup.cs
- BamlWriter.cs
- InputDevice.cs
- DrawingContext.cs
- IndicCharClassifier.cs
- SqlPersonalizationProvider.cs
- StackOverflowException.cs
- Window.cs
- SoapAttributeOverrides.cs
- XmlDocumentFragment.cs
- MemoryPressure.cs
- DecoderFallback.cs
- HtmlInputText.cs
- GPPOINTF.cs
- AutomationPropertyInfo.cs
- _SslState.cs
- DragStartedEventArgs.cs
- ExecutionContext.cs
- SortAction.cs
- Transactions.cs
- SecurityIdentifierElementCollection.cs
- StreamInfo.cs
- CodeFieldReferenceExpression.cs
- PriorityQueue.cs
- XmlWriter.cs
- EdmItemCollection.cs
- CodeGenerator.cs
- SQLInt32Storage.cs
- SafeProcessHandle.cs
- SafeNativeMethods.cs
- RegexWriter.cs
- WebScriptEnablingElement.cs
- NativeMethods.cs
- TaskResultSetter.cs
- ToolStripRenderEventArgs.cs
- ListItemConverter.cs
- Int16Converter.cs
- _AcceptOverlappedAsyncResult.cs
- WsatServiceCertificate.cs
- AuthenticationException.cs
- SafeFileMappingHandle.cs
- DescendantQuery.cs
- ScrollItemProviderWrapper.cs
- WinHttpWebProxyFinder.cs
- ManagementObject.cs
- SmiMetaDataProperty.cs
- WebPartEditorApplyVerb.cs
- InputLangChangeEvent.cs
- NotCondition.cs
- CacheOutputQuery.cs
- MeshGeometry3D.cs
- DistributedTransactionPermission.cs
- SmiXetterAccessMap.cs
- ArraySegment.cs
- RuntimeWrappedException.cs
- ProtectedProviderSettings.cs
- XmlSchemaFacet.cs
- WinFormsUtils.cs
- TextBoxLine.cs
- SoundPlayerAction.cs
- DataGridViewCellLinkedList.cs
- ItemList.cs
- OdbcDataAdapter.cs
- SynchronizedChannelCollection.cs
- WebBrowserEvent.cs
- _ConnectOverlappedAsyncResult.cs
- COAUTHINFO.cs
- DrawingImage.cs
- IntersectQueryOperator.cs
- IOThreadTimer.cs
- WebServiceErrorEvent.cs
- EncoderBestFitFallback.cs
- Variable.cs
- ContentValidator.cs
- NavigateEvent.cs
- PermissionSetEnumerator.cs
- SerialReceived.cs
- SqlSelectClauseBuilder.cs
- StdRegProviderWrapper.cs
- AssociationTypeEmitter.cs
- EntityWithKeyStrategy.cs
- DocumentSchemaValidator.cs
- Emitter.cs
- OutputCache.cs
- PathFigureCollectionConverter.cs
- EventTrigger.cs
- CompressionTracing.cs
- URLEditor.cs
- PropertyItemInternal.cs
- XmlSchemaSimpleContent.cs
- WebConfigurationHost.cs
- PKCS1MaskGenerationMethod.cs
- EncodingDataItem.cs
- WebCategoryAttribute.cs