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
- PrivilegeNotHeldException.cs
- DbDataSourceEnumerator.cs
- CssStyleCollection.cs
- UrlMappingCollection.cs
- SqlCacheDependencySection.cs
- TemplateKeyConverter.cs
- ObjRef.cs
- TypeConverterAttribute.cs
- SmtpException.cs
- SerializationHelper.cs
- XmlLoader.cs
- CellTreeNode.cs
- MemoryPressure.cs
- PipeStream.cs
- SurrogateEncoder.cs
- AbstractDataSvcMapFileLoader.cs
- DataKey.cs
- HtmlPhoneCallAdapter.cs
- uribuilder.cs
- NativeMethods.cs
- Timer.cs
- ApplicationDirectory.cs
- TypeDefinition.cs
- TrustManager.cs
- BinaryEditor.cs
- CheckedPointers.cs
- StylusEventArgs.cs
- ObjectAnimationUsingKeyFrames.cs
- GatewayIPAddressInformationCollection.cs
- PropertyDescriptorCollection.cs
- UnknownMessageReceivedEventArgs.cs
- WebPartConnectVerb.cs
- Simplifier.cs
- WindowsListViewItemStartMenu.cs
- ResourceWriter.cs
- SystemUnicastIPAddressInformation.cs
- CompiledQuery.cs
- MessageSmuggler.cs
- TreeNodeCollection.cs
- CommandLibraryHelper.cs
- XhtmlBasicControlAdapter.cs
- CachingHintValidation.cs
- PassportAuthenticationModule.cs
- ConfigurationPermission.cs
- TextOutput.cs
- BaseProcessor.cs
- Literal.cs
- Size.cs
- DataGridState.cs
- _BufferOffsetSize.cs
- _NativeSSPI.cs
- BaseDataBoundControl.cs
- DuplexChannelBinder.cs
- CodeGotoStatement.cs
- DbConnectionFactory.cs
- Parameter.cs
- HtmlForm.cs
- LabelEditEvent.cs
- SqlTriggerContext.cs
- RectangleHotSpot.cs
- WindowsListViewItem.cs
- RbTree.cs
- ISAPIApplicationHost.cs
- ReadWriteSpinLock.cs
- XPathNavigatorKeyComparer.cs
- XmlSchemaSubstitutionGroup.cs
- AddInAttribute.cs
- ConfigXmlAttribute.cs
- FilterFactory.cs
- MetadataItem_Static.cs
- ScalarOps.cs
- ListItemCollection.cs
- XmlEntityReference.cs
- ListViewEditEventArgs.cs
- TableItemStyle.cs
- SecurityTokenAuthenticator.cs
- ThreadStaticAttribute.cs
- DataSourceSelectArguments.cs
- AssemblyInfo.cs
- AppSettings.cs
- StringValueSerializer.cs
- AnimationClock.cs
- JulianCalendar.cs
- HMAC.cs
- EllipticalNodeOperations.cs
- WorkflowViewService.cs
- WebBrowserContainer.cs
- IdentitySection.cs
- MethodAccessException.cs
- StructuredTypeInfo.cs
- RtfControlWordInfo.cs
- WindowsToolbar.cs
- GridLength.cs
- ItemCheckedEvent.cs
- webeventbuffer.cs
- PasswordPropertyTextAttribute.cs
- File.cs
- ToolStripItemCollection.cs
- Attributes.cs
- PolicyStatement.cs