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
- CaseStatement.cs
- SignatureTargetIdManager.cs
- LoginCancelEventArgs.cs
- IChannel.cs
- Helper.cs
- MarkupExtensionReturnTypeAttribute.cs
- SetterBase.cs
- EntityDataSourceConfigureObjectContext.cs
- GroupBoxAutomationPeer.cs
- SqlUserDefinedAggregateAttribute.cs
- odbcmetadatacolumnnames.cs
- BackStopAuthenticationModule.cs
- RichTextBoxAutomationPeer.cs
- ConfigurationValidatorAttribute.cs
- EncodingTable.cs
- FontFamily.cs
- RegexCode.cs
- ExtensionQuery.cs
- FontStyle.cs
- AssemblyNameEqualityComparer.cs
- SrgsRule.cs
- TemplatingOptionsDialog.cs
- TableLayoutStyle.cs
- CodeAttributeDeclarationCollection.cs
- Item.cs
- FormViewCommandEventArgs.cs
- WebPartTransformerAttribute.cs
- CustomError.cs
- XmlSchemaDatatype.cs
- SmiTypedGetterSetter.cs
- PtsContext.cs
- InternalsVisibleToAttribute.cs
- DragEventArgs.cs
- WS2007FederationHttpBinding.cs
- WebHttpEndpointElement.cs
- RegexCapture.cs
- HtmlTableRow.cs
- DataControlButton.cs
- BaseResourcesBuildProvider.cs
- XsdBuildProvider.cs
- GridViewPageEventArgs.cs
- UserUseLicenseDictionaryLoader.cs
- ReachDocumentPageSerializerAsync.cs
- Funcletizer.cs
- BitmapEffect.cs
- ConfigsHelper.cs
- ListViewDeleteEventArgs.cs
- RequestBringIntoViewEventArgs.cs
- BackStopAuthenticationModule.cs
- DigestTraceRecordHelper.cs
- ArrangedElementCollection.cs
- TypeInitializationException.cs
- BaseCodeDomTreeGenerator.cs
- CompilationRelaxations.cs
- SmtpFailedRecipientsException.cs
- Gdiplus.cs
- FontStretch.cs
- AssemblyCache.cs
- WindowsGraphicsCacheManager.cs
- LoadWorkflowByInstanceKeyCommand.cs
- SchemaTypeEmitter.cs
- PostBackTrigger.cs
- ToolStripItemBehavior.cs
- EntityDataSourceDesignerHelper.cs
- DesignerActionVerbItem.cs
- UseManagedPresentationBindingElementImporter.cs
- WindowsRichEdit.cs
- SqlNodeAnnotations.cs
- WebPartExportVerb.cs
- SemaphoreFullException.cs
- GridViewDesigner.cs
- HtmlElementEventArgs.cs
- EmbeddedObject.cs
- ManagedFilter.cs
- LoadRetryAsyncResult.cs
- PhoneCallDesigner.cs
- MasterPageCodeDomTreeGenerator.cs
- Byte.cs
- Debug.cs
- FragmentQueryKB.cs
- HttpModuleActionCollection.cs
- FunctionDefinition.cs
- ServerValidateEventArgs.cs
- WithStatement.cs
- OdbcParameterCollection.cs
- cookiecontainer.cs
- IpcClientChannel.cs
- WorkflowInstanceTerminatedRecord.cs
- CompilerTypeWithParams.cs
- TrustManager.cs
- URLAttribute.cs
- LockCookie.cs
- AdapterUtil.cs
- ConfigXmlText.cs
- EdmToObjectNamespaceMap.cs
- OutputScope.cs
- SoapIncludeAttribute.cs
- AsymmetricKeyExchangeFormatter.cs
- AbstractExpressions.cs
- PersonalizableTypeEntry.cs