Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DelegatedStream.cs
- NamedPipeDuplicateContext.cs
- FilterQuery.cs
- RepeatButton.cs
- HttpCacheVary.cs
- EntityDataSourceConfigureObjectContext.cs
- TagPrefixInfo.cs
- ErrorsHelper.cs
- WebHttpDispatchOperationSelector.cs
- RenderDataDrawingContext.cs
- MessagingDescriptionAttribute.cs
- DesignerVerbCollection.cs
- DbFunctionCommandTree.cs
- RelOps.cs
- SweepDirectionValidation.cs
- SoapCodeExporter.cs
- DocumentViewerBase.cs
- PerfCounters.cs
- TransportReplyChannelAcceptor.cs
- DefaultBinder.cs
- CharConverter.cs
- TagPrefixAttribute.cs
- DocumentOrderComparer.cs
- ScriptingProfileServiceSection.cs
- EntityCommandCompilationException.cs
- DataBindingCollection.cs
- XPathArrayIterator.cs
- FileNotFoundException.cs
- EntityContainerEntitySetDefiningQuery.cs
- XPathAxisIterator.cs
- OrCondition.cs
- ObjectAnimationUsingKeyFrames.cs
- MappingSource.cs
- SingleObjectCollection.cs
- HealthMonitoringSectionHelper.cs
- ImageList.cs
- GregorianCalendar.cs
- prompt.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- XamlToRtfWriter.cs
- SliderAutomationPeer.cs
- XmlCharacterData.cs
- PreviewPageInfo.cs
- PagesChangedEventArgs.cs
- BehaviorEditorPart.cs
- SecurityCriticalDataForSet.cs
- UrlAuthFailedErrorFormatter.cs
- FixedSOMTable.cs
- CapabilitiesAssignment.cs
- StatusCommandUI.cs
- ArrayConverter.cs
- ProgressBarRenderer.cs
- ClientRoleProvider.cs
- LinkButton.cs
- Splitter.cs
- _PooledStream.cs
- DesigntimeLicenseContextSerializer.cs
- XmlAttributeHolder.cs
- Function.cs
- PersonalizationAdministration.cs
- NameValueConfigurationElement.cs
- GPStream.cs
- messageonlyhwndwrapper.cs
- BindingOperations.cs
- DecoderBestFitFallback.cs
- RuntimeHandles.cs
- OperatingSystem.cs
- ConnectionManagementSection.cs
- NetStream.cs
- OleDbError.cs
- RemotingConfigParser.cs
- StringResourceManager.cs
- DrawingContext.cs
- Resources.Designer.cs
- StreamSecurityUpgradeProvider.cs
- TriState.cs
- BindingExpression.cs
- Constraint.cs
- DataServiceQuery.cs
- METAHEADER.cs
- BinaryKeyIdentifierClause.cs
- ImageClickEventArgs.cs
- UnauthorizedWebPart.cs
- SqlErrorCollection.cs
- CapabilitiesAssignment.cs
- TableLayoutStyleCollection.cs
- IsolatedStoragePermission.cs
- DataTable.cs
- IisHelper.cs
- PasswordBoxAutomationPeer.cs
- SID.cs
- Parameter.cs
- BindableAttribute.cs
- HtmlTableCell.cs
- InvalidDocumentContentsException.cs
- ColorContextHelper.cs
- BrushValueSerializer.cs
- Win32SafeHandles.cs
- InputElement.cs
- TextHidden.cs