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
- ObjectItemCollection.cs
- ParameterEditorUserControl.cs
- DataGridViewColumnEventArgs.cs
- infer.cs
- BehaviorEditorPart.cs
- AspProxy.cs
- InvalidFilterCriteriaException.cs
- FilterException.cs
- ContentValidator.cs
- ContextMenuStripGroup.cs
- HtmlTableRowCollection.cs
- WorkflowServiceHost.cs
- SchemaElementLookUpTable.cs
- Literal.cs
- User.cs
- InternalControlCollection.cs
- StoreAnnotationsMap.cs
- DependencyPropertyKind.cs
- FeatureManager.cs
- BooleanAnimationUsingKeyFrames.cs
- UnauthorizedWebPart.cs
- ImageDesigner.cs
- TableCell.cs
- CommandDevice.cs
- WMIInterop.cs
- PenContext.cs
- LabelEditEvent.cs
- HttpStaticObjectsCollectionWrapper.cs
- ScopelessEnumAttribute.cs
- ProfileWorkflowElement.cs
- LayoutEditorPart.cs
- MediaElement.cs
- messageonlyhwndwrapper.cs
- WebFormDesignerActionService.cs
- TargetConverter.cs
- ProcessHostServerConfig.cs
- NetCodeGroup.cs
- COM2EnumConverter.cs
- SizeChangedEventArgs.cs
- Stacktrace.cs
- AttributeTable.cs
- WindowsRichEdit.cs
- WhitespaceRuleLookup.cs
- GeometryGroup.cs
- ItemsPresenter.cs
- DataProtection.cs
- SingleKeyFrameCollection.cs
- WebPartEditorCancelVerb.cs
- AggregateException.cs
- ButtonBase.cs
- X509CertificateClaimSet.cs
- BoundColumn.cs
- HeaderFilter.cs
- cookiecontainer.cs
- Encoder.cs
- CodeTypeOfExpression.cs
- HtmlInputSubmit.cs
- RawAppCommandInputReport.cs
- CanonicalFormWriter.cs
- Socket.cs
- BaseParser.cs
- BaseTransportHeaders.cs
- StringWriter.cs
- GcSettings.cs
- WorkflowViewElement.cs
- ThemeDictionaryExtension.cs
- ConfigXmlElement.cs
- GridViewColumn.cs
- ScaleTransform3D.cs
- SerializationObjectManager.cs
- BaseHashHelper.cs
- RadialGradientBrush.cs
- CryptoApi.cs
- FunctionQuery.cs
- WinFormsUtils.cs
- DBConcurrencyException.cs
- InputLangChangeRequestEvent.cs
- AtlasWeb.Designer.cs
- SourceFileInfo.cs
- ComboBoxAutomationPeer.cs
- PersonalizationEntry.cs
- PeerApplication.cs
- BoolExpr.cs
- RtType.cs
- TrackingProfile.cs
- RulePatternOps.cs
- StrokeNodeOperations2.cs
- Vector3DCollectionValueSerializer.cs
- PropertyPanel.cs
- DateTime.cs
- IssuanceLicense.cs
- MatrixAnimationUsingKeyFrames.cs
- HandleCollector.cs
- Helpers.cs
- RefreshEventArgs.cs
- COM2PictureConverter.cs
- GeneralTransform3D.cs
- TCPClient.cs
- ErrorWebPart.cs
- RNGCryptoServiceProvider.cs