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
- MILUtilities.cs
- XmlElementAttributes.cs
- MergeFilterQuery.cs
- SizeAnimationBase.cs
- AssemblyHelper.cs
- PropertyTabAttribute.cs
- TextDpi.cs
- RuleEngine.cs
- CodeStatement.cs
- AsymmetricKeyExchangeDeformatter.cs
- DesignerVerbCollection.cs
- TableAdapterManagerHelper.cs
- sqlinternaltransaction.cs
- OdbcHandle.cs
- BaseServiceProvider.cs
- EventHandlersStore.cs
- PublishLicense.cs
- DesignRelationCollection.cs
- EdmSchemaAttribute.cs
- TextTreeTextElementNode.cs
- ApplicationCommands.cs
- ActivitiesCollection.cs
- DependencyObjectType.cs
- HtmlLink.cs
- HotCommands.cs
- Utils.cs
- DataObjectEventArgs.cs
- MatrixTransform3D.cs
- BufferedGraphicsManager.cs
- TypeExtensionConverter.cs
- LongTypeConverter.cs
- StylusButtonEventArgs.cs
- DataColumnMapping.cs
- IPEndPointCollection.cs
- EntityContainerEntitySet.cs
- EvidenceBase.cs
- XPathDocumentBuilder.cs
- DateTimeSerializationSection.cs
- BasePropertyDescriptor.cs
- SpecialNameAttribute.cs
- ReadOnlyCollectionBuilder.cs
- TransformValueSerializer.cs
- CompilerLocalReference.cs
- DataIdProcessor.cs
- OdbcDataAdapter.cs
- XPathPatternParser.cs
- ToolStripRenderer.cs
- Rotation3DAnimationBase.cs
- TypeListConverter.cs
- XmlUtil.cs
- ServiceTimeoutsElement.cs
- CodeExpressionCollection.cs
- WindowPatternIdentifiers.cs
- HttpCapabilitiesBase.cs
- Invariant.cs
- TreeNodeMouseHoverEvent.cs
- cache.cs
- IisTraceListener.cs
- DatatypeImplementation.cs
- ImageFormatConverter.cs
- TreeViewAutomationPeer.cs
- CodeDirectionExpression.cs
- SafeRightsManagementSessionHandle.cs
- FlagPanel.cs
- newinstructionaction.cs
- MessageSmuggler.cs
- CommandValueSerializer.cs
- TemplatedWizardStep.cs
- RegistrySecurity.cs
- followingquery.cs
- FormViewDeleteEventArgs.cs
- PathNode.cs
- MatrixTransform3D.cs
- WorkflowViewStateService.cs
- log.cs
- cache.cs
- OdbcReferenceCollection.cs
- QilStrConcat.cs
- ListViewItem.cs
- WebControlAdapter.cs
- ConditionCollection.cs
- PanelStyle.cs
- OracleDataReader.cs
- SubpageParagraph.cs
- EventProxy.cs
- ProtocolInformationWriter.cs
- HelpEvent.cs
- ControlBindingsConverter.cs
- SchemaNotation.cs
- XpsS0ValidatingLoader.cs
- PrintPreviewDialog.cs
- FormsAuthenticationConfiguration.cs
- NullNotAllowedCollection.cs
- MatcherBuilder.cs
- TypeReference.cs
- DebugView.cs
- TemplateKeyConverter.cs
- AddInSegmentDirectoryNotFoundException.cs
- JsonByteArrayDataContract.cs
- NetMsmqBinding.cs