Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // //----------------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ControlCodeDomSerializer.cs
- CustomValidator.cs
- ScrollableControlDesigner.cs
- OutputWindow.cs
- SurrogateSelector.cs
- DictionaryKeyPropertyAttribute.cs
- cookieexception.cs
- WorkflowApplicationCompletedEventArgs.cs
- RelationshipManager.cs
- XmlBaseWriter.cs
- Matrix3D.cs
- Pipe.cs
- SslStream.cs
- ConfigXmlWhitespace.cs
- PreviewKeyDownEventArgs.cs
- smtpconnection.cs
- AnnotationResource.cs
- ObjectManager.cs
- BackStopAuthenticationModule.cs
- SecureUICommand.cs
- Quaternion.cs
- AutomationPatternInfo.cs
- IndependentAnimationStorage.cs
- GenericRootAutomationPeer.cs
- AddressingProperty.cs
- OracleTransaction.cs
- SchemaAttDef.cs
- recordstate.cs
- DrawingContextDrawingContextWalker.cs
- PropertyBuilder.cs
- COM2Properties.cs
- PipelineDeploymentState.cs
- SignatureHelper.cs
- CalendarTable.cs
- GenericEnumerator.cs
- BasePropertyDescriptor.cs
- BamlRecordHelper.cs
- MetadataException.cs
- UiaCoreApi.cs
- MultiView.cs
- SmiRequestExecutor.cs
- TypeLoadException.cs
- DiagnosticStrings.cs
- ManipulationDelta.cs
- CodeIterationStatement.cs
- XmlElementAttribute.cs
- BaseTemplateCodeDomTreeGenerator.cs
- QueryCacheEntry.cs
- OdbcError.cs
- AsymmetricKeyExchangeFormatter.cs
- InfoCardServiceInstallComponent.cs
- UserUseLicenseDictionaryLoader.cs
- Constants.cs
- StreamedWorkflowDefinitionContext.cs
- DocumentCollection.cs
- OracleParameterCollection.cs
- Metadata.cs
- HybridDictionary.cs
- SQLDateTimeStorage.cs
- DataServiceResponse.cs
- GridViewAutomationPeer.cs
- ChtmlLinkAdapter.cs
- TextTreeExtractElementUndoUnit.cs
- FixedSOMTable.cs
- Adorner.cs
- _HelperAsyncResults.cs
- CollaborationHelperFunctions.cs
- RegionIterator.cs
- ScalarType.cs
- BulletedList.cs
- LineVisual.cs
- InternalRelationshipCollection.cs
- KeyConverter.cs
- DesignerObjectListAdapter.cs
- odbcmetadatacolumnnames.cs
- UIElementHelper.cs
- ManipulationDeltaEventArgs.cs
- ListMarkerSourceInfo.cs
- Executor.cs
- DbTransaction.cs
- WebServiceData.cs
- ProviderException.cs
- ScrollBar.cs
- CultureInfoConverter.cs
- JpegBitmapEncoder.cs
- DesignerActionItem.cs
- Types.cs
- WriteableBitmap.cs
- AssemblyHash.cs
- CapabilitiesSection.cs
- MetaDataInfo.cs
- DataGridViewComboBoxCell.cs
- QueryReaderSettings.cs
- StrongNameUtility.cs
- InteropBitmapSource.cs
- XmlNotation.cs
- DataDocumentXPathNavigator.cs
- SubtreeProcessor.cs
- TcpClientChannel.cs
- WmlTextViewAdapter.cs