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 / 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
- TrackingMemoryStream.cs
- SamlConditions.cs
- ExtensibleClassFactory.cs
- SByte.cs
- IsolatedStorageException.cs
- BitmapSourceSafeMILHandle.cs
- AppDomainFactory.cs
- DataBoundControl.cs
- SynchronizedInputAdaptor.cs
- PathFigureCollectionValueSerializer.cs
- PropertiesTab.cs
- CachedBitmap.cs
- SynchronousChannel.cs
- AppDomainProtocolHandler.cs
- StateWorkerRequest.cs
- WhiteSpaceTrimStringConverter.cs
- ColorTransform.cs
- Int32RectValueSerializer.cs
- SQLSingleStorage.cs
- XmlHelper.cs
- AdapterUtil.cs
- RequestResizeEvent.cs
- CacheMemory.cs
- PeerToPeerException.cs
- PartialTrustVisibleAssembliesSection.cs
- ScaleTransform.cs
- AsymmetricKeyExchangeDeformatter.cs
- StateFinalizationActivity.cs
- DataGridClipboardHelper.cs
- Frame.cs
- VisualBrush.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- EmissiveMaterial.cs
- Point.cs
- ProjectionPlanCompiler.cs
- CustomError.cs
- UniqueEventHelper.cs
- Event.cs
- UrlUtility.cs
- RemoteWebConfigurationHostServer.cs
- ClickablePoint.cs
- ImageBrush.cs
- DashStyle.cs
- Empty.cs
- HeaderedContentControl.cs
- SortedDictionary.cs
- ClassGenerator.cs
- AuthenticatedStream.cs
- PackageRelationshipSelector.cs
- EntityKeyElement.cs
- ScrollChrome.cs
- StrongNameUtility.cs
- RectIndependentAnimationStorage.cs
- StateFinalizationDesigner.cs
- ContainerActivationHelper.cs
- ContentControl.cs
- COM2IProvidePropertyBuilderHandler.cs
- Internal.cs
- XDeferredAxisSource.cs
- dsa.cs
- OleDbException.cs
- FontFamily.cs
- EntryWrittenEventArgs.cs
- BrowserCapabilitiesCompiler.cs
- XsdValidatingReader.cs
- DeadLetterQueue.cs
- PageCatalogPart.cs
- OutputScopeManager.cs
- ColorContextHelper.cs
- HttpContext.cs
- MobileControlsSectionHandler.cs
- AttachedPropertiesService.cs
- SystemIcmpV4Statistics.cs
- ObjectStateManager.cs
- EntityWithKeyStrategy.cs
- ScrollContentPresenter.cs
- GraphicsState.cs
- ScriptRef.cs
- WindowsHyperlink.cs
- TraceSection.cs
- Configuration.cs
- BindingEntityInfo.cs
- CircleHotSpot.cs
- PocoEntityKeyStrategy.cs
- HtmlValidationSummaryAdapter.cs
- CanonicalFontFamilyReference.cs
- Deflater.cs
- FilterableAttribute.cs
- ComboBoxRenderer.cs
- TextSelectionProcessor.cs
- ScrollChrome.cs
- CaseStatement.cs
- DeclaredTypeValidator.cs
- MetadataArtifactLoader.cs
- SettingsPropertyValueCollection.cs
- HMACSHA1.cs
- SecurityException.cs
- Delay.cs
- ObjectAssociationEndMapping.cs
- Stroke.cs