Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- PerspectiveCamera.cs
- securitycriticaldataformultiplegetandset.cs
- MimePart.cs
- TableParaClient.cs
- XmlCollation.cs
- WebServiceTypeData.cs
- ListSortDescription.cs
- TableDesigner.cs
- InkCanvas.cs
- DashStyles.cs
- InkCollectionBehavior.cs
- ClientUtils.cs
- rsa.cs
- InteropDesigner.xaml.cs
- XmlComplianceUtil.cs
- Decoder.cs
- XamlTypeMapper.cs
- TypeToArgumentTypeConverter.cs
- Configuration.cs
- ExpandableObjectConverter.cs
- ExpandedWrapper.cs
- AddingNewEventArgs.cs
- EncoderParameter.cs
- SchemaCollectionCompiler.cs
- ConnectionPoint.cs
- ViewStateAttachedPropertyFeature.cs
- DataSourceControlBuilder.cs
- DataControlPagerLinkButton.cs
- XmlKeywords.cs
- CultureInfoConverter.cs
- InnerItemCollectionView.cs
- AssociativeAggregationOperator.cs
- AccessViolationException.cs
- TcpStreams.cs
- SqlMetaData.cs
- RepeaterDesigner.cs
- PartialArray.cs
- InvalidOperationException.cs
- Journaling.cs
- DataGridViewToolTip.cs
- WebPartConnectionsCancelEventArgs.cs
- XamlWriter.cs
- Constraint.cs
- CommonDialog.cs
- AnnotationHighlightLayer.cs
- GenerateScriptTypeAttribute.cs
- ImageList.cs
- ConnectionAcceptor.cs
- ObjectCloneHelper.cs
- ReadOnlyNameValueCollection.cs
- FixedHighlight.cs
- ActivityPropertyReference.cs
- Point3DAnimationBase.cs
- TagPrefixAttribute.cs
- CodeDirectoryCompiler.cs
- ServicePoint.cs
- XmlTextReaderImplHelpers.cs
- OdbcCommand.cs
- PolicyDesigner.cs
- SignedInfo.cs
- InternalConfigHost.cs
- ViewStateModeByIdAttribute.cs
- SafeSecurityHelper.cs
- ReadOnlyDictionary.cs
- HtmlInputPassword.cs
- ValidatorCollection.cs
- RuntimeConfigLKG.cs
- SecUtil.cs
- CodeCompileUnit.cs
- LineServices.cs
- Authorization.cs
- HwndKeyboardInputProvider.cs
- CacheDependency.cs
- UIntPtr.cs
- XPathParser.cs
- PolyQuadraticBezierSegment.cs
- BlockingCollection.cs
- TaskFormBase.cs
- CodeTypeParameterCollection.cs
- CollectionViewProxy.cs
- ThrowHelper.cs
- Compilation.cs
- GlyphRun.cs
- SqlAliaser.cs
- XmlSchemaImport.cs
- DataGridCommandEventArgs.cs
- ToolStripItemEventArgs.cs
- DataRelationCollection.cs
- ProviderConnectionPointCollection.cs
- DataGridViewCellValidatingEventArgs.cs
- SqlAggregateChecker.cs
- GraphicsState.cs
- Cursor.cs
- TransformGroup.cs
- StorageAssociationSetMapping.cs
- ReturnType.cs
- ToolStripLabel.cs
- MarshalByRefObject.cs
- DocumentViewerBase.cs
- AccessKeyManager.cs