Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- LazyTextWriterCreator.cs
- Geometry.cs
- PenThreadPool.cs
- TriState.cs
- XmlHierarchyData.cs
- DeferredReference.cs
- StructuredTypeEmitter.cs
- ImportCatalogPart.cs
- WebPartZoneBase.cs
- ApplicationBuildProvider.cs
- BaseComponentEditor.cs
- ImportContext.cs
- PowerStatus.cs
- WindowsListViewScroll.cs
- NamespaceQuery.cs
- CustomBindingCollectionElement.cs
- HitTestFilterBehavior.cs
- DispatcherEventArgs.cs
- CellLabel.cs
- LicenseContext.cs
- VisualProxy.cs
- BitmapFrame.cs
- ReferencedType.cs
- EncryptedType.cs
- CommandBinding.cs
- ToolStripItemCollection.cs
- ToolStripSeparatorRenderEventArgs.cs
- BinarySerializer.cs
- Registry.cs
- CheckBox.cs
- LoadGrammarCompletedEventArgs.cs
- DataGridItem.cs
- Model3DGroup.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- WmlCalendarAdapter.cs
- RangeExpression.cs
- BitmapEffectInput.cs
- DataGridTable.cs
- DrawingImage.cs
- IChannel.cs
- AppDomain.cs
- PenCursorManager.cs
- DataBoundLiteralControl.cs
- Common.cs
- FlowPosition.cs
- SchemaElementLookUpTableEnumerator.cs
- COMException.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- WebPartChrome.cs
- DataGridViewCellStateChangedEventArgs.cs
- DecimalAnimationBase.cs
- SizeChangedEventArgs.cs
- TemplatePartAttribute.cs
- Processor.cs
- ObjectItemAttributeAssemblyLoader.cs
- CurrentChangingEventManager.cs
- ToolboxDataAttribute.cs
- BidOverLoads.cs
- XXXInfos.cs
- AuthenticateEventArgs.cs
- OperationAbortedException.cs
- SapiGrammar.cs
- DbConnectionOptions.cs
- MultiByteCodec.cs
- SqlUnionizer.cs
- CancellationState.cs
- DESCryptoServiceProvider.cs
- SerializationObjectManager.cs
- DifferencingCollection.cs
- GradientStopCollection.cs
- SystemGatewayIPAddressInformation.cs
- StoreContentChangedEventArgs.cs
- BitmapEffectInput.cs
- RelationshipDetailsRow.cs
- SmtpFailedRecipientsException.cs
- HierarchicalDataBoundControl.cs
- ManagementInstaller.cs
- BaseTemplateCodeDomTreeGenerator.cs
- CultureInfoConverter.cs
- TypeValidationEventArgs.cs
- DesignSurfaceCollection.cs
- ControlPropertyNameConverter.cs
- DataFormats.cs
- Input.cs
- shaperfactoryquerycacheentry.cs
- Maps.cs
- future.cs
- TypefaceMap.cs
- IssuedSecurityTokenParameters.cs
- ZoneLinkButton.cs
- ProfileModule.cs
- EdmComplexTypeAttribute.cs
- DataBindEngine.cs
- ImplicitInputBrush.cs
- FontInfo.cs
- ActiveXSite.cs
- ClientUrlResolverWrapper.cs
- SafeLocalMemHandle.cs
- BitmapImage.cs
- HttpListenerException.cs