Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- GorillaCodec.cs
- CLRBindingWorker.cs
- SqlParameterizer.cs
- PointUtil.cs
- SqlStream.cs
- DataGridViewRowHeaderCell.cs
- DataObjectMethodAttribute.cs
- EditingCommands.cs
- ToolStripControlHost.cs
- Rotation3DKeyFrameCollection.cs
- SQLUtility.cs
- Error.cs
- OleDbInfoMessageEvent.cs
- MemberCollection.cs
- IndentedWriter.cs
- ContextDataSourceContextData.cs
- LinqDataSourceInsertEventArgs.cs
- TextContainerChangedEventArgs.cs
- FrameworkTextComposition.cs
- ObjectDataSourceDisposingEventArgs.cs
- XDRSchema.cs
- Int32EqualityComparer.cs
- Boolean.cs
- HttpModuleActionCollection.cs
- TextDecorationUnitValidation.cs
- IdentifierService.cs
- DataGridCommandEventArgs.cs
- DataGridViewRowsRemovedEventArgs.cs
- hwndwrapper.cs
- DataControlImageButton.cs
- Storyboard.cs
- ShapeTypeface.cs
- IConvertible.cs
- ThemeDictionaryExtension.cs
- SliderAutomationPeer.cs
- NativeCppClassAttribute.cs
- EUCJPEncoding.cs
- DrawingServices.cs
- ViewManagerAttribute.cs
- DescendantOverDescendantQuery.cs
- SourceElementsCollection.cs
- CustomAttributeSerializer.cs
- NavigatorOutput.cs
- AssemblyAttributes.cs
- StackSpiller.Generated.cs
- DependencyPropertyKey.cs
- PublisherIdentityPermission.cs
- ArithmeticException.cs
- QilScopedVisitor.cs
- ContainerUtilities.cs
- CodeTypeDelegate.cs
- CqlLexer.cs
- CollectionChangeEventArgs.cs
- FileDataSourceCache.cs
- _OverlappedAsyncResult.cs
- ProcessThreadCollection.cs
- Vector3DAnimationBase.cs
- TextTreePropertyUndoUnit.cs
- Monitor.cs
- ConnectionInterfaceCollection.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ComponentCommands.cs
- ErrorHandler.cs
- TextEditorDragDrop.cs
- CodeIdentifiers.cs
- x509utils.cs
- DesignerOptionService.cs
- PrinterSettings.cs
- UniqueCodeIdentifierScope.cs
- StateMachineHelpers.cs
- SrgsRulesCollection.cs
- PresentationSource.cs
- ObjectPropertyMapping.cs
- SerializationFieldInfo.cs
- RSACryptoServiceProvider.cs
- UnionCodeGroup.cs
- TextTreeDeleteContentUndoUnit.cs
- TimeoutValidationAttribute.cs
- CircleEase.cs
- TranslateTransform.cs
- EntityKeyElement.cs
- DataPager.cs
- VirtualPathProvider.cs
- Vector3DValueSerializer.cs
- WebPartMenu.cs
- GridViewSortEventArgs.cs
- XMLSyntaxException.cs
- DetailsViewDeleteEventArgs.cs
- WorkBatch.cs
- CriticalHandle.cs
- WrappingXamlSchemaContext.cs
- WebHttpBinding.cs
- MailWriter.cs
- PartialClassGenerationTask.cs
- DataControlFieldHeaderCell.cs
- MessageDecoder.cs
- DropSource.cs
- CharEnumerator.cs
- SafeArrayTypeMismatchException.cs
- ComPlusInstanceProvider.cs