Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / FormViewRow.cs / 1 / FormViewRow.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 FormViewRow : TableRow { private int _itemIndex; private DataControlRowType _rowType; private DataControlRowState _rowState; ///Represents an individual row in the ///. /// public FormViewRow(int itemIndex, DataControlRowType rowType, DataControlRowState rowState) { this._itemIndex = itemIndex; this._rowType = rowType; this._rowState = rowState; } ///Initializes a new instance of the ///class. /// public virtual int ItemIndex { get { return _itemIndex; } } ///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) { FormViewCommandEventArgs args = new FormViewCommandEventArgs(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 FormViewRow : TableRow { private int _itemIndex; private DataControlRowType _rowType; private DataControlRowState _rowState; ///Represents an individual row in the ///. /// public FormViewRow(int itemIndex, DataControlRowType rowType, DataControlRowState rowState) { this._itemIndex = itemIndex; this._rowType = rowType; this._rowState = rowState; } ///Initializes a new instance of the ///class. /// public virtual int ItemIndex { get { return _itemIndex; } } ///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) { FormViewCommandEventArgs args = new FormViewCommandEventArgs(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
- ListDictionaryInternal.cs
- Baml2006ReaderSettings.cs
- DbParameterHelper.cs
- ObjectDataSourceChooseTypePanel.cs
- shaperfactoryquerycacheentry.cs
- ValueQuery.cs
- ToolStripTextBox.cs
- Menu.cs
- FixedNode.cs
- IssuedTokenClientBehaviorsElementCollection.cs
- XmlNodeChangedEventArgs.cs
- MethodBuilder.cs
- ShaperBuffers.cs
- MethodBuilderInstantiation.cs
- ListViewGroupItemCollection.cs
- OutKeywords.cs
- TrackingProfileManager.cs
- XPathNodePointer.cs
- OptimalBreakSession.cs
- DefaultCommandConverter.cs
- Wizard.cs
- wgx_render.cs
- ProcessModuleCollection.cs
- RightsManagementPermission.cs
- DoWorkEventArgs.cs
- NTAccount.cs
- TraceContext.cs
- RectangleConverter.cs
- IApplicationTrustManager.cs
- VirtualPathData.cs
- SerializationException.cs
- AttachedPropertyInfo.cs
- JoinTreeSlot.cs
- ExpressionsCollectionEditor.cs
- Screen.cs
- FrameworkElementFactoryMarkupObject.cs
- XamlReaderConstants.cs
- DynamicObjectAccessor.cs
- _UncName.cs
- SecurityContextSecurityTokenAuthenticator.cs
- CounterCreationData.cs
- TextEvent.cs
- ExtendedProperty.cs
- EntityDesignerBuildProvider.cs
- EntityDataSourceEntitySetNameItem.cs
- OdbcHandle.cs
- SelectionProcessor.cs
- HttpSysSettings.cs
- ObjectViewListener.cs
- MDIClient.cs
- PageFunction.cs
- TraceListener.cs
- CqlBlock.cs
- HtmlControl.cs
- BuildManagerHost.cs
- SystemResourceKey.cs
- LambdaCompiler.Expressions.cs
- QilCloneVisitor.cs
- ProxyWebPartConnectionCollection.cs
- AttributeQuery.cs
- ColorMatrix.cs
- XmlDataCollection.cs
- Listbox.cs
- WebPartExportVerb.cs
- OdbcPermission.cs
- HostedElements.cs
- GeneralTransform3D.cs
- LineBreakRecord.cs
- _Events.cs
- DataGridViewIntLinkedList.cs
- StylusOverProperty.cs
- WSSecurityPolicy11.cs
- WebResponse.cs
- SqlBinder.cs
- Accessors.cs
- X509Extension.cs
- MappableObjectManager.cs
- FormViewRow.cs
- DesignerCatalogPartChrome.cs
- PageContentAsyncResult.cs
- HandleExceptionArgs.cs
- HiddenField.cs
- FixedDocumentSequencePaginator.cs
- LeftCellWrapper.cs
- PenThreadPool.cs
- AmbientLight.cs
- DataGridViewTextBoxEditingControl.cs
- RuntimeArgumentHandle.cs
- DbDeleteCommandTree.cs
- MailWebEventProvider.cs
- DecimalConstantAttribute.cs
- SendOperation.cs
- ZipFileInfoCollection.cs
- ForceCopyBuildProvider.cs
- XhtmlTextWriter.cs
- SqlException.cs
- HTTPNotFoundHandler.cs
- QueryParameter.cs
- StaticContext.cs
- GridViewRowPresenter.cs