Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WeakReferenceKey.cs
- SchemaContext.cs
- SchemaManager.cs
- ResXDataNode.cs
- NetPeerTcpBindingCollectionElement.cs
- NamedPipeAppDomainProtocolHandler.cs
- MarkupProperty.cs
- QueueSurrogate.cs
- DoWhileDesigner.xaml.cs
- StatusBar.cs
- DbProviderSpecificTypePropertyAttribute.cs
- CoreSwitches.cs
- SplashScreenNativeMethods.cs
- Function.cs
- SQLDouble.cs
- PaintValueEventArgs.cs
- PrinterResolution.cs
- ProxyHelper.cs
- TypeSource.cs
- GridViewColumn.cs
- SiteMapDataSourceDesigner.cs
- SchemaComplexType.cs
- CopyOnWriteList.cs
- DrawToolTipEventArgs.cs
- InvalidCastException.cs
- ListDependantCardsRequest.cs
- CustomAttributeBuilder.cs
- TreeWalker.cs
- SmiContextFactory.cs
- DPCustomTypeDescriptor.cs
- MultiBinding.cs
- DiagnosticsConfigurationHandler.cs
- _DisconnectOverlappedAsyncResult.cs
- ComplusTypeValidator.cs
- Tile.cs
- IndexedWhereQueryOperator.cs
- BaseDataBoundControl.cs
- XmlSchemaSimpleContentRestriction.cs
- SoapFormatter.cs
- DBPropSet.cs
- DbConnectionStringBuilder.cs
- SiteMapProvider.cs
- TextTreeTextElementNode.cs
- AlphaSortedEnumConverter.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- DataGridViewAccessibleObject.cs
- InvalidCastException.cs
- XmlArrayItemAttribute.cs
- PropertyItem.cs
- SchemaDeclBase.cs
- List.cs
- HtmlElementErrorEventArgs.cs
- IsolatedStorage.cs
- XmlDocumentFragment.cs
- SafePointer.cs
- CodeDirectiveCollection.cs
- ListenerElementsCollection.cs
- SingleObjectCollection.cs
- XmlSerializationReader.cs
- DuplexChannel.cs
- AnimationClockResource.cs
- PropertyEmitterBase.cs
- KnownBoxes.cs
- Console.cs
- RootDesignerSerializerAttribute.cs
- EntityDataSourceChangingEventArgs.cs
- RuleInfoComparer.cs
- ReadOnlyTernaryTree.cs
- MappedMetaModel.cs
- HtmlControl.cs
- TargetControlTypeAttribute.cs
- ObjectHelper.cs
- Part.cs
- AddIn.cs
- InputMethod.cs
- RichTextBox.cs
- ExtendedProperty.cs
- XmlWrappingReader.cs
- PersonalizationAdministration.cs
- DataRelationCollection.cs
- PEFileReader.cs
- CipherData.cs
- SchemaSetCompiler.cs
- DurationConverter.cs
- ContentIterators.cs
- ClosableStream.cs
- EventSinkHelperWriter.cs
- ipaddressinformationcollection.cs
- WebConvert.cs
- BaseInfoTable.cs
- WindowsRebar.cs
- SizeAnimationUsingKeyFrames.cs
- CodeSnippetCompileUnit.cs
- WindowsStartMenu.cs
- SettingsPropertyCollection.cs
- ExceptionUtil.cs
- AppearanceEditorPart.cs
- ApplicationServicesHostFactory.cs
- LocalizableResourceBuilder.cs
- ConfigurationStrings.cs