Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- securitymgrsite.cs
- DataObjectPastingEventArgs.cs
- CustomErrorsSectionWrapper.cs
- WebBrowser.cs
- ConnectionPoint.cs
- DataService.cs
- NetworkAddressChange.cs
- ConsoleTraceListener.cs
- TypeGeneratedEventArgs.cs
- XPathDescendantIterator.cs
- Attribute.cs
- oledbmetadatacollectionnames.cs
- HtmlLabelAdapter.cs
- String.cs
- WCFBuildProvider.cs
- TextOptionsInternal.cs
- ParseHttpDate.cs
- DesignerAutoFormatStyle.cs
- ApplicationSecurityManager.cs
- PageThemeBuildProvider.cs
- XmlResolver.cs
- PromptEventArgs.cs
- WmlLinkAdapter.cs
- ReferencedAssembly.cs
- MessageSecurityVersionConverter.cs
- SqlUnionizer.cs
- CriticalHandle.cs
- input.cs
- Transform.cs
- ParsedAttributeCollection.cs
- SamlEvidence.cs
- SqlProcedureAttribute.cs
- ExpressionBindingCollection.cs
- ComponentResourceKey.cs
- ReadingWritingEntityEventArgs.cs
- DataControlImageButton.cs
- SchemaMerger.cs
- ObjectDataSourceFilteringEventArgs.cs
- X509Certificate2.cs
- Menu.cs
- DynamicPropertyReader.cs
- RangeContentEnumerator.cs
- Vector3DAnimationBase.cs
- UnaryQueryOperator.cs
- Debugger.cs
- ValueTypeFixupInfo.cs
- IdentityValidationException.cs
- HelpProvider.cs
- COM2AboutBoxPropertyDescriptor.cs
- JsonReaderWriterFactory.cs
- UnauthorizedAccessException.cs
- SqlRowUpdatedEvent.cs
- DoubleCollection.cs
- DataSourceControlBuilder.cs
- TextProperties.cs
- Rotation3D.cs
- contentDescriptor.cs
- UnwrappedTypesXmlSerializerManager.cs
- TextServicesCompartmentContext.cs
- EmptyStringExpandableObjectConverter.cs
- VectorConverter.cs
- ThemeableAttribute.cs
- SourceItem.cs
- ThreadStateException.cs
- Executor.cs
- Button.cs
- EventLogRecord.cs
- Calendar.cs
- MDIWindowDialog.cs
- Boolean.cs
- PeerResolverMode.cs
- Tile.cs
- ObjectDataSourceDisposingEventArgs.cs
- MessagePropertyAttribute.cs
- Events.cs
- FileSystemEnumerable.cs
- NameValuePair.cs
- ImpersonationOption.cs
- HandoffBehavior.cs
- StackSpiller.Generated.cs
- Predicate.cs
- ResolveMatchesMessage11.cs
- RelationHandler.cs
- ToolStripSeparatorRenderEventArgs.cs
- tabpagecollectioneditor.cs
- NullableDoubleSumAggregationOperator.cs
- SelectionEditor.cs
- RewritingPass.cs
- SecurityAlgorithmSuiteConverter.cs
- SplitterEvent.cs
- TabletCollection.cs
- EFTableProvider.cs
- ExtendedProperty.cs
- MultilineStringConverter.cs
- OperationContractAttribute.cs
- Publisher.cs
- QilInvokeLateBound.cs
- DesignerValidationSummaryAdapter.cs
- ProfileSettingsCollection.cs
- XmlSchemaComplexType.cs