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
- AsyncOperation.cs
- DesignerImageAdapter.cs
- WeakHashtable.cs
- CompilationSection.cs
- EntityContainer.cs
- SafeThemeHandle.cs
- ToggleButtonAutomationPeer.cs
- WhitespaceReader.cs
- CharConverter.cs
- DurableInstanceProvider.cs
- CollectionContainer.cs
- ItemContainerProviderWrapper.cs
- SqlClientPermission.cs
- XmlReader.cs
- RepeatInfo.cs
- XmlRawWriterWrapper.cs
- SqlDataSource.cs
- AmbientEnvironment.cs
- BufferedResponseStream.cs
- RTLAwareMessageBox.cs
- Exception.cs
- InteropBitmapSource.cs
- UnsafeNativeMethodsCLR.cs
- RealizationContext.cs
- ControlPaint.cs
- CodeAttributeArgumentCollection.cs
- SecurityKeyIdentifier.cs
- RegexReplacement.cs
- SchemaElementLookUpTable.cs
- XmlObjectSerializerReadContextComplex.cs
- InstanceView.cs
- CompensationParticipant.cs
- unitconverter.cs
- Stack.cs
- XmlSchemaImporter.cs
- SystemSounds.cs
- ClientSettingsProvider.cs
- RequestBringIntoViewEventArgs.cs
- DataGridViewCell.cs
- OledbConnectionStringbuilder.cs
- DataServiceQuery.cs
- UInt64.cs
- DefaultSection.cs
- DesignConnection.cs
- RoutingSection.cs
- EncryptionUtility.cs
- QueryCreatedEventArgs.cs
- PostBackTrigger.cs
- TreeNodeStyleCollection.cs
- DateTimeFormatInfoScanner.cs
- TextDecoration.cs
- Random.cs
- EntityCommandExecutionException.cs
- CommandArguments.cs
- WindowsFormsLinkLabel.cs
- _UriTypeConverter.cs
- QilStrConcat.cs
- XamlPoint3DCollectionSerializer.cs
- TypeExtensionSerializer.cs
- SoapIgnoreAttribute.cs
- ErrorCodes.cs
- SubclassTypeValidator.cs
- WindowsButton.cs
- Configuration.cs
- CachedTypeface.cs
- FilterQueryOptionExpression.cs
- DomainUpDown.cs
- EntityDataSourceDataSelection.cs
- DataGridHeaderBorder.cs
- RawAppCommandInputReport.cs
- RecordConverter.cs
- WpfPayload.cs
- SortedSetDebugView.cs
- SafeRegistryKey.cs
- ViewCellSlot.cs
- SqlEnums.cs
- CngAlgorithmGroup.cs
- RegexRunner.cs
- IdentityReference.cs
- SystemIPInterfaceStatistics.cs
- ScrollChrome.cs
- TabletDeviceInfo.cs
- NoneExcludedImageIndexConverter.cs
- RemotingClientProxy.cs
- KeyEventArgs.cs
- DrawTreeNodeEventArgs.cs
- ObjectDisposedException.cs
- _ListenerResponseStream.cs
- AuthStoreRoleProvider.cs
- NamedPipeConnectionPool.cs
- CharacterHit.cs
- ProcessHostFactoryHelper.cs
- _PooledStream.cs
- SessionIDManager.cs
- BamlRecordHelper.cs
- ListDictionary.cs
- FormsAuthenticationModule.cs
- MenuItemAutomationPeer.cs
- GenericAuthenticationEventArgs.cs
- ConsoleCancelEventArgs.cs