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
- EncodingDataItem.cs
- SQLSingle.cs
- ResourceAttributes.cs
- ReadOnlyTernaryTree.cs
- TextMessageEncodingBindingElement.cs
- QueryOutputWriter.cs
- LogWriteRestartAreaAsyncResult.cs
- ImpersonateTokenRef.cs
- DesignerActionTextItem.cs
- UriScheme.cs
- ColorConvertedBitmap.cs
- SystemIPv6InterfaceProperties.cs
- ErrorActivity.cs
- NameSpaceExtractor.cs
- _RequestCacheProtocol.cs
- WebControlAdapter.cs
- DirectionalLight.cs
- XmlAnyElementAttribute.cs
- SubtreeProcessor.cs
- TreeNode.cs
- MarkupCompilePass1.cs
- Int32Animation.cs
- UICuesEvent.cs
- SimpleBitVector32.cs
- EmptyStringExpandableObjectConverter.cs
- DbXmlEnabledProviderManifest.cs
- ResourceReferenceKeyNotFoundException.cs
- WsdlParser.cs
- SqlReferenceCollection.cs
- DbParameterCollection.cs
- StyleXamlParser.cs
- DataGridViewCellCollection.cs
- TextContainer.cs
- TreeSet.cs
- RepeatBehavior.cs
- SelectionChangedEventArgs.cs
- SolidBrush.cs
- TypeLibConverter.cs
- shaper.cs
- GridItem.cs
- HttpHandlerAction.cs
- TextOutput.cs
- OleDbCommand.cs
- ExpressionBuilder.cs
- _BufferOffsetSize.cs
- WebBrowser.cs
- FontFamilyIdentifier.cs
- RoleGroup.cs
- DescendentsWalker.cs
- Path.cs
- HwndSubclass.cs
- Focus.cs
- Action.cs
- ModelUIElement3D.cs
- ResourceDictionary.cs
- List.cs
- AssemblyResourceLoader.cs
- HierarchicalDataTemplate.cs
- CodeCastExpression.cs
- TypeSystem.cs
- Effect.cs
- _IPv4Address.cs
- diagnosticsswitches.cs
- ExportFileRequest.cs
- ALinqExpressionVisitor.cs
- HebrewNumber.cs
- GridViewSortEventArgs.cs
- SqlTriggerAttribute.cs
- OleDbDataReader.cs
- WindowsSecurityToken.cs
- Utility.cs
- DesignerOptions.cs
- RegexWriter.cs
- Internal.cs
- WebControl.cs
- Model3D.cs
- ExpandableObjectConverter.cs
- ResourceDescriptionAttribute.cs
- MediaElement.cs
- ExtendedProtectionPolicy.cs
- RepeaterItem.cs
- SystemTcpStatistics.cs
- Region.cs
- WindowPattern.cs
- GroupBox.cs
- OracleParameterCollection.cs
- FamilyCollection.cs
- ManagementNamedValueCollection.cs
- WebPartMenuStyle.cs
- IdleTimeoutMonitor.cs
- Clause.cs
- ActivityXRefConverter.cs
- ServiceDescriptionSerializer.cs
- Win32Exception.cs
- FixedFindEngine.cs
- XmlLanguage.cs
- ManagementPath.cs
- DesignerTransactionCloseEvent.cs
- EDesignUtil.cs
- ImplicitInputBrush.cs