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
- NumberFunctions.cs
- ManagementClass.cs
- ADConnectionHelper.cs
- StrokeNodeData.cs
- WindowsTitleBar.cs
- FocusChangedEventArgs.cs
- SqlUdtInfo.cs
- InstanceNotFoundException.cs
- TemplateLookupAction.cs
- ToolStripPanelCell.cs
- HttpModuleActionCollection.cs
- XPathChildIterator.cs
- ServiceOperationParameter.cs
- ToolTipService.cs
- ToggleButtonAutomationPeer.cs
- SpeechUI.cs
- ChildTable.cs
- IListConverters.cs
- CompilerResults.cs
- Util.cs
- _LoggingObject.cs
- Expander.cs
- ToolStripButton.cs
- GridView.cs
- Padding.cs
- WebPartManagerInternals.cs
- FormParameter.cs
- KerberosSecurityTokenAuthenticator.cs
- cookie.cs
- DbDeleteCommandTree.cs
- HttpProcessUtility.cs
- MasterPageCodeDomTreeGenerator.cs
- Brush.cs
- Privilege.cs
- BrushMappingModeValidation.cs
- LayoutTable.cs
- LoadRetryAsyncResult.cs
- contentDescriptor.cs
- UTF8Encoding.cs
- ScriptReferenceEventArgs.cs
- EmulateRecognizeCompletedEventArgs.cs
- StringBlob.cs
- X509Chain.cs
- FormViewDeleteEventArgs.cs
- ImageListStreamer.cs
- ShaderEffect.cs
- ToolboxBitmapAttribute.cs
- XNameConverter.cs
- ButtonFieldBase.cs
- formatstringdialog.cs
- ReachDocumentReferenceSerializerAsync.cs
- SignatureHelper.cs
- PolicyStatement.cs
- ActivityCodeDomSerializer.cs
- WasHostedComPlusFactory.cs
- StrongTypingException.cs
- Workspace.cs
- AttributeSetAction.cs
- StringAnimationUsingKeyFrames.cs
- DesignTimeXamlWriter.cs
- XmlSchemaType.cs
- FillErrorEventArgs.cs
- QueryGeneratorBase.cs
- SqlCacheDependencyDatabase.cs
- ToolbarAUtomationPeer.cs
- UrlSyndicationContent.cs
- Help.cs
- WebPartConnectVerb.cs
- CodePageUtils.cs
- KeyEvent.cs
- TreeNodeCollectionEditor.cs
- VoiceChangeEventArgs.cs
- EventDescriptorCollection.cs
- RotateTransform3D.cs
- BaseTemplateParser.cs
- BamlResourceContent.cs
- CollectionContainer.cs
- PropertyGridCommands.cs
- ClientScriptManager.cs
- AdPostCacheSubstitution.cs
- SHA384Managed.cs
- WebCodeGenerator.cs
- XmlDataContract.cs
- UserNamePasswordValidator.cs
- BamlLocalizabilityResolver.cs
- CompModSwitches.cs
- ContentWrapperAttribute.cs
- DataGridViewRowPostPaintEventArgs.cs
- XmlMtomReader.cs
- UpdateRecord.cs
- ControlParameter.cs
- ToolStripSettings.cs
- ImmComposition.cs
- TextEndOfSegment.cs
- UnmanagedMemoryStream.cs
- XmlSchemaObjectCollection.cs
- AmbiguousMatchException.cs
- RowVisual.cs
- ToolZoneDesigner.cs
- DataGridViewImageCell.cs