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
- RequestCachePolicy.cs
- HMACSHA384.cs
- mediaclock.cs
- BooleanFunctions.cs
- Baml2006KnownTypes.cs
- ChannelManagerBase.cs
- Stack.cs
- SafeCryptHandles.cs
- _Connection.cs
- TextDecorationUnitValidation.cs
- WebPartConnectionsConnectVerb.cs
- _SSPIWrapper.cs
- DataGridViewSortCompareEventArgs.cs
- Function.cs
- Range.cs
- Drawing.cs
- ComponentResourceManager.cs
- Point3DKeyFrameCollection.cs
- SystemTcpConnection.cs
- ExitEventArgs.cs
- WebServiceReceive.cs
- DataGridViewCellStyle.cs
- TempFiles.cs
- DynamicActionMessageFilter.cs
- ToolboxComponentsCreatingEventArgs.cs
- SoapExtensionStream.cs
- ZoomComboBox.cs
- VSWCFServiceContractGenerator.cs
- HttpRequestCacheValidator.cs
- LicenseException.cs
- ReadingWritingEntityEventArgs.cs
- Animatable.cs
- UrlUtility.cs
- DynamicValueConverter.cs
- DataGridViewColumnConverter.cs
- CustomErrorCollection.cs
- EntityDataSourceEntityTypeFilterItem.cs
- XPathNodeIterator.cs
- Menu.cs
- BindingOperations.cs
- CharacterMetrics.cs
- GetParentChain.cs
- BoolExpressionVisitors.cs
- WebPartsPersonalization.cs
- COM2ExtendedUITypeEditor.cs
- Accessible.cs
- StrokeCollectionConverter.cs
- XhtmlBasicValidatorAdapter.cs
- PermissionSetEnumerator.cs
- GrammarBuilderWildcard.cs
- ObjectListDesigner.cs
- UdpDiscoveryEndpointElement.cs
- FocusTracker.cs
- BitmapEffectState.cs
- AuthorizationRule.cs
- MinimizableAttributeTypeConverter.cs
- TraceContextEventArgs.cs
- QuestionEventArgs.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- MgmtConfigurationRecord.cs
- MethodCallTranslator.cs
- BeginEvent.cs
- ColorBlend.cs
- PlatformCulture.cs
- XmlObjectSerializerContext.cs
- XAMLParseException.cs
- Normalizer.cs
- DriveNotFoundException.cs
- Int16AnimationUsingKeyFrames.cs
- Odbc32.cs
- AuthenticationService.cs
- Model3DGroup.cs
- Perspective.cs
- BevelBitmapEffect.cs
- ServicesSection.cs
- TransportConfigurationTypeElement.cs
- CreateRefExpr.cs
- Model3D.cs
- CodeParameterDeclarationExpression.cs
- ConstraintConverter.cs
- AdobeCFFWrapper.cs
- ApplicationDirectory.cs
- Unit.cs
- DispatcherFrame.cs
- storepermission.cs
- CleanUpVirtualizedItemEventArgs.cs
- PropertyManager.cs
- AccessViolationException.cs
- PrivilegedConfigurationManager.cs
- SchemaEntity.cs
- BulletedListEventArgs.cs
- ReadContentAsBinaryHelper.cs
- ListItemCollection.cs
- InfiniteIntConverter.cs
- XmlSchemaExporter.cs
- FixedSOMGroup.cs
- OracleNumber.cs
- SafeEventLogWriteHandle.cs
- SupportsEventValidationAttribute.cs
- BlobPersonalizationState.cs