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
- AddInController.cs
- SortAction.cs
- AnnotationComponentChooser.cs
- HierarchicalDataBoundControl.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- FixedHighlight.cs
- SiteIdentityPermission.cs
- AppDomainManager.cs
- RegionIterator.cs
- ToolStripStatusLabel.cs
- MaxValueConverter.cs
- MenuItemBindingCollection.cs
- TimeSpanConverter.cs
- ConnectionManagementElement.cs
- RuleSettings.cs
- CultureInfoConverter.cs
- CommentEmitter.cs
- WindowsTokenRoleProvider.cs
- WindowsProgressbar.cs
- Message.cs
- DispatchChannelSink.cs
- AutomationFocusChangedEventArgs.cs
- DefaultParameterValueAttribute.cs
- WebPartDescriptionCollection.cs
- CodeSubDirectory.cs
- DesignTimeTemplateParser.cs
- ConstructorBuilder.cs
- Binding.cs
- DataGridViewHitTestInfo.cs
- HttpException.cs
- WebPartTracker.cs
- MetadataArtifactLoaderCompositeFile.cs
- PenLineJoinValidation.cs
- ControlsConfig.cs
- AnnotationStore.cs
- DecoderExceptionFallback.cs
- ResXFileRef.cs
- CookieHandler.cs
- DirtyTextRange.cs
- ListControl.cs
- WindowsIPAddress.cs
- SmiSettersStream.cs
- XmlWriterTraceListener.cs
- TypeLibConverter.cs
- CompositeDataBoundControl.cs
- TableProviderWrapper.cs
- SHA512Managed.cs
- AvtEvent.cs
- HttpPostProtocolReflector.cs
- WhileDesigner.cs
- DocumentApplicationJournalEntry.cs
- CompiledRegexRunnerFactory.cs
- SetIterators.cs
- Thread.cs
- RootProfilePropertySettingsCollection.cs
- XmlQualifiedNameTest.cs
- DllHostInitializer.cs
- QuaternionRotation3D.cs
- TextSelection.cs
- ObjectStateEntry.cs
- SynchronizedInputAdaptor.cs
- SerializableTypeCodeDomSerializer.cs
- SrgsElement.cs
- AuthenticationManager.cs
- InputReportEventArgs.cs
- ObjectHandle.cs
- XmlHierarchicalEnumerable.cs
- TextComposition.cs
- DataGridViewControlCollection.cs
- SortQuery.cs
- SwitchElementsCollection.cs
- HttpPostedFile.cs
- StrokeCollection2.cs
- DrawingContextDrawingContextWalker.cs
- SystemUdpStatistics.cs
- Int32KeyFrameCollection.cs
- DiagnosticTraceSource.cs
- LocationReferenceValue.cs
- CancelAsyncOperationRequest.cs
- XmlSchemaSimpleTypeRestriction.cs
- NameTable.cs
- WebPartsPersonalization.cs
- CompModSwitches.cs
- StringValidator.cs
- DocumentXmlWriter.cs
- HwndHostAutomationPeer.cs
- webclient.cs
- PropertyChangingEventArgs.cs
- InvalidDataException.cs
- SimpleTextLine.cs
- CircleHotSpot.cs
- FileCodeGroup.cs
- PowerStatus.cs
- NameValuePermission.cs
- NavigationService.cs
- SiteMapNode.cs
- UnsafeNativeMethods.cs
- EnumerableCollectionView.cs
- ValidationSummary.cs
- EdmRelationshipNavigationPropertyAttribute.cs