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
- BitmapPalette.cs
- PixelFormat.cs
- Expression.DebuggerProxy.cs
- CalendarDesigner.cs
- Task.cs
- SQlBooleanStorage.cs
- HttpStaticObjectsCollectionWrapper.cs
- ColumnMapTranslator.cs
- _UriSyntax.cs
- PingReply.cs
- ActionMismatchAddressingException.cs
- AppearanceEditorPart.cs
- ScopeElementCollection.cs
- OpenTypeLayoutCache.cs
- WmlSelectionListAdapter.cs
- SQLByte.cs
- WinCategoryAttribute.cs
- wgx_exports.cs
- XsdDateTime.cs
- RectangleHotSpot.cs
- JoinSymbol.cs
- RMEnrollmentPage2.cs
- RadioButton.cs
- InputScopeNameConverter.cs
- EdmProviderManifest.cs
- BrowserInteropHelper.cs
- StringUtil.cs
- InputLanguageManager.cs
- XPathNavigatorReader.cs
- Single.cs
- ButtonBaseAdapter.cs
- DataColumnMapping.cs
- ColorConverter.cs
- WorkflowPageSetupDialog.cs
- SetStoryboardSpeedRatio.cs
- SapiRecognizer.cs
- FontNamesConverter.cs
- ServiceEndpointAssociationProvider.cs
- RoleBoolean.cs
- DbDataAdapter.cs
- XmlDownloadManager.cs
- X509ThumbprintKeyIdentifierClause.cs
- PermissionListSet.cs
- GrammarBuilder.cs
- ContainerTracking.cs
- returneventsaver.cs
- ConstantSlot.cs
- XmlJsonReader.cs
- UIElementParaClient.cs
- XamlFigureLengthSerializer.cs
- XmlNotation.cs
- ListViewDeleteEventArgs.cs
- dataSvcMapFileLoader.cs
- FontSource.cs
- NetworkStream.cs
- TransactionManager.cs
- RoutedCommand.cs
- BmpBitmapDecoder.cs
- Int64KeyFrameCollection.cs
- DigestComparer.cs
- ExtensibleClassFactory.cs
- _ContextAwareResult.cs
- HttpListenerException.cs
- webproxy.cs
- LineSegment.cs
- NullableBoolConverter.cs
- SaveFileDialog.cs
- Int32RectValueSerializer.cs
- CaseCqlBlock.cs
- CroppedBitmap.cs
- RegexMatchCollection.cs
- SoapExtensionStream.cs
- ObjectIDGenerator.cs
- FontFamilyValueSerializer.cs
- HttpDateParse.cs
- MappingException.cs
- CallSiteOps.cs
- XmlSchemaSimpleTypeUnion.cs
- DbgUtil.cs
- AbstractSvcMapFileLoader.cs
- IsolatedStorageFileStream.cs
- FileEnumerator.cs
- SystemParameters.cs
- TemplatedWizardStep.cs
- Vector3D.cs
- SqlFormatter.cs
- TextRangeEditTables.cs
- LockedHandleGlyph.cs
- DictionaryEntry.cs
- ServiceProviders.cs
- WebCategoryAttribute.cs
- XmlSchemaComplexContent.cs
- FieldCollectionEditor.cs
- TimeSpanSecondsConverter.cs
- ConsoleKeyInfo.cs
- FileEnumerator.cs
- LogManagementAsyncResult.cs
- XPathNodeHelper.cs
- ConfigXmlText.cs
- EventLogRecord.cs