Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / 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;
///
/// Represents an individual row in the .
///
[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;
///
/// Initializes a new instance of the class.
///
public FormViewRow(int itemIndex, DataControlRowType rowType, DataControlRowState rowState) {
this._itemIndex = itemIndex;
this._rowType = rowType;
this._rowState = rowState;
}
///
/// Indicates the index of the item in the . This property is
/// read-only.
///
public virtual int ItemIndex {
get {
return _itemIndex;
}
}
///
/// Indicates the type of the row in the .
///
public virtual DataControlRowState RowState {
get {
return _rowState;
}
}
///
/// Indicates the type of the row in the .
///
public virtual DataControlRowType RowType {
get {
return _rowType;
}
}
///
///
///
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
- StylusCaptureWithinProperty.cs
- SelectiveScrollingGrid.cs
- ResolveMatchesApril2005.cs
- PolyBezierSegment.cs
- MSAAWinEventWrap.cs
- MetadataUtilsSmi.cs
- ResolveDuplex11AsyncResult.cs
- ISO2022Encoding.cs
- DataColumnMappingCollection.cs
- SoapFault.cs
- _LocalDataStoreMgr.cs
- DesignerActionService.cs
- CodeAccessPermission.cs
- ThrowHelper.cs
- DragDeltaEventArgs.cs
- StylusPointPropertyInfo.cs
- UrlMappingCollection.cs
- AddressUtility.cs
- SimpleRecyclingCache.cs
- StateMachineWorkflowInstance.cs
- TogglePatternIdentifiers.cs
- GZipDecoder.cs
- OleDbFactory.cs
- OleDbWrapper.cs
- DirectionalLight.cs
- StringTraceRecord.cs
- SafeRightsManagementPubHandle.cs
- PersonalizationProviderHelper.cs
- SynchronizedInputProviderWrapper.cs
- TypeElement.cs
- UnsafePeerToPeerMethods.cs
- CodeVariableReferenceExpression.cs
- SqlBulkCopyColumnMappingCollection.cs
- UpdateException.cs
- DoWhileDesigner.xaml.cs
- SamlAuthorityBinding.cs
- wgx_commands.cs
- HighlightComponent.cs
- ArcSegment.cs
- ClientUIRequest.cs
- DataControlLinkButton.cs
- ContainerVisual.cs
- IncrementalHitTester.cs
- WizardPanelChangingEventArgs.cs
- XmlAttributes.cs
- ColumnMapProcessor.cs
- DataList.cs
- ComboBoxDesigner.cs
- FileUtil.cs
- SHA384Managed.cs
- _ProxyChain.cs
- EventProxy.cs
- EntityViewGenerationAttribute.cs
- DocumentSequenceHighlightLayer.cs
- TemplatedWizardStep.cs
- Attributes.cs
- BitmapMetadataBlob.cs
- XmlWrappingWriter.cs
- XmlHierarchyData.cs
- TextServicesCompartmentContext.cs
- SymLanguageVendor.cs
- AvTraceDetails.cs
- StatusBarPanelClickEvent.cs
- CookieHandler.cs
- AttributeCollection.cs
- UserThread.cs
- GridViewUpdatedEventArgs.cs
- SourceCollection.cs
- NamedPermissionSet.cs
- MemberJoinTreeNode.cs
- DbParameterHelper.cs
- FilterElement.cs
- CustomError.cs
- FormViewDeletedEventArgs.cs
- Queue.cs
- Transactions.cs
- XmlWriterTraceListener.cs
- WebExceptionStatus.cs
- SafeHGlobalHandleCritical.cs
- BooleanProjectedSlot.cs
- SqlWorkflowInstanceStoreLock.cs
- GradientStop.cs
- SynchronizedInputHelper.cs
- FormCollection.cs
- DataTableMapping.cs
- XmlDownloadManager.cs
- XmlAttribute.cs
- GraphicsPathIterator.cs
- ColorKeyFrameCollection.cs
- CompareValidator.cs
- TemplateBindingExtensionConverter.cs
- securestring.cs
- RectConverter.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- SiblingIterators.cs
- ShapingWorkspace.cs
- WebPartVerb.cs
- HyperLinkField.cs
- NameValueConfigurationElement.cs
- WebContext.cs