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
- FixUpCollection.cs
- DocumentXPathNavigator.cs
- BinaryUtilClasses.cs
- Config.cs
- XmlSchemaInclude.cs
- SecurityElement.cs
- RouteValueExpressionBuilder.cs
- FixUp.cs
- ReachDocumentReferenceCollectionSerializer.cs
- SafeRegistryHandle.cs
- MemoryMappedView.cs
- SQLMembershipProvider.cs
- OAVariantLib.cs
- DataGridViewTopLeftHeaderCell.cs
- ExceptionUtil.cs
- XmlSchemaSimpleTypeUnion.cs
- TypeBuilderInstantiation.cs
- ValueProviderWrapper.cs
- LostFocusEventManager.cs
- LocalFileSettingsProvider.cs
- RelationshipNavigation.cs
- MessageLogTraceRecord.cs
- EndpointInfoCollection.cs
- DataSourceXmlElementAttribute.cs
- XhtmlBasicLinkAdapter.cs
- DiscoveryClientBindingElement.cs
- ContainerCodeDomSerializer.cs
- OdbcUtils.cs
- EntityKey.cs
- ManagementClass.cs
- XmlEntityReference.cs
- XhtmlBasicControlAdapter.cs
- DataBinding.cs
- RadioButtonAutomationPeer.cs
- TokenBasedSet.cs
- AsyncResult.cs
- TypeConverterHelper.cs
- PixelFormats.cs
- TextEditorSpelling.cs
- TextAnchor.cs
- Utility.cs
- PackageRelationshipSelector.cs
- HttpProfileGroupBase.cs
- Encoding.cs
- DbMetaDataFactory.cs
- FreeFormPanel.cs
- VariableQuery.cs
- Annotation.cs
- Pair.cs
- TextEvent.cs
- ZipIOModeEnforcingStream.cs
- CompModSwitches.cs
- EdmToObjectNamespaceMap.cs
- NextPreviousPagerField.cs
- DecoratedNameAttribute.cs
- WebEventCodes.cs
- IODescriptionAttribute.cs
- Group.cs
- SimplePropertyEntry.cs
- AssemblyAttributesGoHere.cs
- DataServiceProviderWrapper.cs
- TypeForwardedFromAttribute.cs
- LookupNode.cs
- DateTimeAutomationPeer.cs
- MemberInitExpression.cs
- SmtpNegotiateAuthenticationModule.cs
- StrokeNode.cs
- HtmlTableCellCollection.cs
- CodeDomConfigurationHandler.cs
- BaseAsyncResult.cs
- CryptoStream.cs
- RawUIStateInputReport.cs
- PerformanceCounterPermissionEntryCollection.cs
- SecurityUtils.cs
- QilCloneVisitor.cs
- ConstrainedDataObject.cs
- ArrayItemReference.cs
- LockCookie.cs
- VerticalAlignConverter.cs
- LinqDataSourceInsertEventArgs.cs
- ResourcesGenerator.cs
- XamlSerializerUtil.cs
- DBCommand.cs
- DependencyPropertyChangedEventArgs.cs
- Transform3DGroup.cs
- ThreadAttributes.cs
- InitializingNewItemEventArgs.cs
- QueryContinueDragEvent.cs
- EventSourceCreationData.cs
- SqlRecordBuffer.cs
- StorageEndPropertyMapping.cs
- TargetControlTypeCache.cs
- ContextMenuAutomationPeer.cs
- UnsafeNativeMethods.cs
- SystemThemeKey.cs
- SessionPageStatePersister.cs
- DictionaryEntry.cs
- recordstatefactory.cs
- CultureInfoConverter.cs
- NativeRecognizer.cs