Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StreamGeometryContext.cs
- ApplicationGesture.cs
- ErrorProvider.cs
- StickyNoteAnnotations.cs
- SqlPersonalizationProvider.cs
- AtomServiceDocumentSerializer.cs
- Recipient.cs
- RuntimeEnvironment.cs
- TableAdapterManagerHelper.cs
- RouteItem.cs
- DictionaryEntry.cs
- Collection.cs
- AdornerHitTestResult.cs
- InputLanguageEventArgs.cs
- UnsafeNativeMethods.cs
- FileUtil.cs
- AspNetRouteServiceHttpHandler.cs
- WorkflowDesigner.cs
- SiteOfOriginContainer.cs
- DescendantOverDescendantQuery.cs
- HttpStreams.cs
- DataIdProcessor.cs
- storepermission.cs
- KoreanCalendar.cs
- Win32Exception.cs
- baseshape.cs
- XsdDuration.cs
- DynamicMetaObject.cs
- RegexParser.cs
- InternalConfigSettingsFactory.cs
- SettingsSection.cs
- ACE.cs
- TransformerTypeCollection.cs
- DataGridDesigner.cs
- DataService.cs
- DataListCommandEventArgs.cs
- ComplexObject.cs
- mactripleDES.cs
- DataGridTableCollection.cs
- FontFamilyValueSerializer.cs
- InvalidWMPVersionException.cs
- ImpersonationOption.cs
- BitConverter.cs
- TransformGroup.cs
- SkinBuilder.cs
- AuthorizationSection.cs
- XPathNodeHelper.cs
- InplaceBitmapMetadataWriter.cs
- GenericWebPart.cs
- IList.cs
- ColorContext.cs
- UInt16.cs
- ProfileProvider.cs
- StateWorkerRequest.cs
- FolderBrowserDialog.cs
- MimeObjectFactory.cs
- NumericUpDown.cs
- sqlser.cs
- _DigestClient.cs
- MemberPath.cs
- RadialGradientBrush.cs
- SafeNativeMethodsOther.cs
- Freezable.cs
- HtmlForm.cs
- Module.cs
- DetailsViewDeletedEventArgs.cs
- MsmqElementBase.cs
- SoapMessage.cs
- AbandonedMutexException.cs
- Material.cs
- DataGridViewColumnStateChangedEventArgs.cs
- Size.cs
- XPathParser.cs
- ISessionStateStore.cs
- EncoderParameter.cs
- ServiceNotStartedException.cs
- ClientApiGenerator.cs
- GenericTypeParameterBuilder.cs
- ControlCachePolicy.cs
- newitemfactory.cs
- StringValueSerializer.cs
- ConfigurationManagerHelper.cs
- ActivityLocationReferenceEnvironment.cs
- Matrix3DConverter.cs
- BlockCollection.cs
- ArrayWithOffset.cs
- ObjectListCommandsPage.cs
- UIAgentAsyncBeginRequest.cs
- PolyQuadraticBezierSegment.cs
- XmlUtil.cs
- CommandBindingCollection.cs
- CookieParameter.cs
- HwndMouseInputProvider.cs
- Span.cs
- TreeView.cs
- XmlMemberMapping.cs
- StreamDocument.cs
- CollectionDataContract.cs
- Stream.cs
- AsyncCompletedEventArgs.cs