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
- LinkedResource.cs
- ObjectTypeMapping.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ConstructorBuilder.cs
- HasRunnableWorkflowEvent.cs
- RowTypePropertyElement.cs
- DisposableCollectionWrapper.cs
- SoapClientProtocol.cs
- QuotaExceededException.cs
- PartialArray.cs
- CodeGeneratorOptions.cs
- DataSourceView.cs
- FakeModelPropertyImpl.cs
- ListBoxItem.cs
- PaperSize.cs
- Compensate.cs
- EncoderExceptionFallback.cs
- ContractUtils.cs
- AdjustableArrowCap.cs
- XmlSchemaObjectTable.cs
- DispatchChannelSink.cs
- OleDbDataAdapter.cs
- WindowsRichEditRange.cs
- BitmapInitialize.cs
- WorkflowRuntimeEndpoint.cs
- NewItemsContextMenuStrip.cs
- FileIOPermission.cs
- CustomErrorCollection.cs
- XPathNode.cs
- ClientApiGenerator.cs
- Label.cs
- ClientRolePrincipal.cs
- DesignerSerializerAttribute.cs
- TableFieldsEditor.cs
- TransactionOptions.cs
- WindowsFont.cs
- MetafileHeader.cs
- TableLayoutSettingsTypeConverter.cs
- MultiBindingExpression.cs
- TypeDependencyAttribute.cs
- OleDbConnection.cs
- BinaryReader.cs
- XmlAtomErrorReader.cs
- CompositeDataBoundControl.cs
- PathGeometry.cs
- TextOnlyOutput.cs
- XmlSequenceWriter.cs
- SystemColors.cs
- QualifiedCellIdBoolean.cs
- SQLSingle.cs
- ModelPerspective.cs
- DynamicValidatorEventArgs.cs
- AnnotationResourceCollection.cs
- FormattedText.cs
- ErrorsHelper.cs
- EventManager.cs
- Typography.cs
- TdsParserSessionPool.cs
- NavigationWindowAutomationPeer.cs
- DesignerEditorPartChrome.cs
- WSSecurityPolicy.cs
- SqlDuplicator.cs
- ExcCanonicalXml.cs
- StructuredTypeEmitter.cs
- TemplateApplicationHelper.cs
- ButtonStandardAdapter.cs
- PKCS1MaskGenerationMethod.cs
- SystemColors.cs
- Blend.cs
- ProtocolsConfigurationEntry.cs
- NominalTypeEliminator.cs
- EventRecord.cs
- CatalogPartChrome.cs
- FlowLayout.cs
- StreamInfo.cs
- EncoderBestFitFallback.cs
- PeerNameRegistration.cs
- SharedPersonalizationStateInfo.cs
- SurrogateEncoder.cs
- StringTraceRecord.cs
- CannotUnloadAppDomainException.cs
- XmlStreamStore.cs
- MatrixTransform3D.cs
- EditorAttribute.cs
- ErrorLog.cs
- Bezier.cs
- DataServiceStreamProviderWrapper.cs
- DataGridViewLinkColumn.cs
- OperationAbortedException.cs
- SettingsPropertyIsReadOnlyException.cs
- LiteralControl.cs
- BaseParagraph.cs
- BoundPropertyEntry.cs
- TypeResolver.cs
- HtmlTextArea.cs
- SurrogateEncoder.cs
- HtmlForm.cs
- CodeNamespaceCollection.cs
- FilterElement.cs
- LocalTransaction.cs