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
- ToolStripCodeDomSerializer.cs
- ThrowOnMultipleAssignment.cs
- FakeModelPropertyImpl.cs
- SynchronizingStream.cs
- FigureParaClient.cs
- StrokeCollection2.cs
- WorkflowRuntimeService.cs
- XmlSerializerFactory.cs
- TrailingSpaceComparer.cs
- MenuEventArgs.cs
- GridViewPageEventArgs.cs
- PageAdapter.cs
- SystemColorTracker.cs
- UnicastIPAddressInformationCollection.cs
- SBCSCodePageEncoding.cs
- ExpressionReplacer.cs
- BindingEditor.xaml.cs
- ExpressionNode.cs
- BitmapEffectDrawingContextWalker.cs
- ListViewCancelEventArgs.cs
- Atom10FeedFormatter.cs
- VectorAnimation.cs
- XpsColorContext.cs
- CommandConverter.cs
- ImageConverter.cs
- HMAC.cs
- CompatibleComparer.cs
- DataContract.cs
- serverconfig.cs
- MailWebEventProvider.cs
- ClientScriptItemCollection.cs
- FilteredReadOnlyMetadataCollection.cs
- InputEventArgs.cs
- FixedTextSelectionProcessor.cs
- ProcessHostServerConfig.cs
- LocalBuilder.cs
- ValuePatternIdentifiers.cs
- XmlLanguage.cs
- BaseCollection.cs
- StreamWithDictionary.cs
- XmlSchemaProviderAttribute.cs
- ToolStripSplitStackLayout.cs
- Pkcs7Recipient.cs
- Facet.cs
- InstallerTypeAttribute.cs
- TextTreeText.cs
- EditingMode.cs
- listviewsubitemcollectioneditor.cs
- MenuBase.cs
- TreeViewImageKeyConverter.cs
- ByteArrayHelperWithString.cs
- HttpDictionary.cs
- Calendar.cs
- DataGridDesigner.cs
- DashStyle.cs
- HybridDictionary.cs
- ImageAutomationPeer.cs
- ImageList.cs
- SortFieldComparer.cs
- XmlText.cs
- DefaultParameterValueAttribute.cs
- XmlDataContract.cs
- SimplePropertyEntry.cs
- ReferencedType.cs
- TemplateInstanceAttribute.cs
- BinaryConverter.cs
- XmlAttributeProperties.cs
- InstanceDescriptor.cs
- XmlAttributes.cs
- XmlSchemaAll.cs
- ChangePasswordDesigner.cs
- AppDomain.cs
- SchemaImporterExtension.cs
- HttpCapabilitiesEvaluator.cs
- DbConnectionPoolIdentity.cs
- Marshal.cs
- DecimalStorage.cs
- ApplicationManager.cs
- DesignBindingEditor.cs
- ViewCellRelation.cs
- ModuleConfigurationInfo.cs
- FastEncoder.cs
- StyleHelper.cs
- CloseCollectionAsyncResult.cs
- PathData.cs
- SpellerError.cs
- MetadataCacheItem.cs
- PolygonHotSpot.cs
- NamespaceList.cs
- XpsPartBase.cs
- ParseNumbers.cs
- Compiler.cs
- PassportIdentity.cs
- FlowDocumentPaginator.cs
- TemplateControlParser.cs
- DataGridViewRowHeaderCell.cs
- TerminatorSinks.cs
- UnmanagedBitmapWrapper.cs
- MatchAttribute.cs
- MessageEncoderFactory.cs