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
- RequestCacheValidator.cs
- PrivilegeNotHeldException.cs
- InkCanvasSelectionAdorner.cs
- GradientStopCollection.cs
- WebBrowsableAttribute.cs
- RegexNode.cs
- WebPartUserCapability.cs
- DockEditor.cs
- FormatterServices.cs
- FontNamesConverter.cs
- XamlFigureLengthSerializer.cs
- MasterPage.cs
- ISFTagAndGuidCache.cs
- ProfilePropertySettingsCollection.cs
- CompilerCollection.cs
- figurelength.cs
- ApplyImportsAction.cs
- DataServiceException.cs
- WorkflowInstance.cs
- SocketElement.cs
- PasswordBox.cs
- CounterCreationDataCollection.cs
- XmlSchemaAttribute.cs
- FrameSecurityDescriptor.cs
- ConfigurationValidatorBase.cs
- Grid.cs
- AutomationElementCollection.cs
- StylusButtonCollection.cs
- SourceLineInfo.cs
- ControlDesigner.cs
- FirstMatchCodeGroup.cs
- SymDocumentType.cs
- DeobfuscatingStream.cs
- CompilationUtil.cs
- RenderOptions.cs
- HostProtectionException.cs
- NegationPusher.cs
- ipaddressinformationcollection.cs
- XmlSerializationReader.cs
- UnsafeMethods.cs
- SqlConnectionPoolProviderInfo.cs
- ExtensionsSection.cs
- SqlStream.cs
- WebServiceHost.cs
- NonBatchDirectoryCompiler.cs
- HttpAsyncResult.cs
- AuthenticateEventArgs.cs
- EncodingInfo.cs
- ConsumerConnectionPointCollection.cs
- SerialStream.cs
- InvokeMethodActivityDesigner.cs
- PrintPreviewDialog.cs
- RootProfilePropertySettingsCollection.cs
- RegexReplacement.cs
- VersionPair.cs
- SoapAttributeAttribute.cs
- TabControlCancelEvent.cs
- EntryWrittenEventArgs.cs
- webeventbuffer.cs
- ProgressBarAutomationPeer.cs
- Button.cs
- PropertyGroupDescription.cs
- NamespaceEmitter.cs
- TableLayoutCellPaintEventArgs.cs
- PrintEvent.cs
- ImageClickEventArgs.cs
- TextServicesCompartmentContext.cs
- MimeWriter.cs
- EtwTrace.cs
- CompositeTypefaceMetrics.cs
- DbProviderConfigurationHandler.cs
- XmlChildEnumerator.cs
- ThicknessConverter.cs
- _ServiceNameStore.cs
- AttributeCollection.cs
- RawAppCommandInputReport.cs
- PageWrapper.cs
- KeyNotFoundException.cs
- HyperlinkAutomationPeer.cs
- SqlProcedureAttribute.cs
- X509CertificateStore.cs
- HashAlgorithm.cs
- FontStyle.cs
- GenerateScriptTypeAttribute.cs
- DataGridColumnHeaderAutomationPeer.cs
- GraphicsContainer.cs
- LinearGradientBrush.cs
- XomlSerializationHelpers.cs
- ObjectDataSourceView.cs
- CheckBoxBaseAdapter.cs
- ServerIdentity.cs
- ToolStripDropDownButton.cs
- EventBuilder.cs
- SettingsPropertyNotFoundException.cs
- DescendentsWalkerBase.cs
- KeyBinding.cs
- LineProperties.cs
- ToolStripRenderer.cs
- ToolStripRenderer.cs
- SafeThemeHandle.cs