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
- DebugInfo.cs
- XmlCharCheckingWriter.cs
- XmlAttributeProperties.cs
- MemberPath.cs
- DetailsViewDeletedEventArgs.cs
- CheckBox.cs
- DataPagerCommandEventArgs.cs
- EntityCollectionChangedParams.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- StandardOleMarshalObject.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- TextAnchor.cs
- InternalConfigSettingsFactory.cs
- BinHexEncoder.cs
- AssociatedControlConverter.cs
- Deflater.cs
- EntityParameter.cs
- ZoneIdentityPermission.cs
- EventDescriptor.cs
- EnumerableValidator.cs
- ConfigurationValues.cs
- GeneralTransform3D.cs
- WebColorConverter.cs
- CryptoConfig.cs
- mansign.cs
- SafeEventLogReadHandle.cs
- MenuStrip.cs
- DataRelationPropertyDescriptor.cs
- StoryFragments.cs
- DataFormats.cs
- TextBoxLine.cs
- Vector.cs
- RtfToXamlReader.cs
- ShellProvider.cs
- RadioButton.cs
- ObjectItemLoadingSessionData.cs
- NextPreviousPagerField.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- MembershipSection.cs
- CaseInsensitiveComparer.cs
- Util.cs
- BinaryUtilClasses.cs
- TreeViewHitTestInfo.cs
- BamlRecordWriter.cs
- NameHandler.cs
- FileChangesMonitor.cs
- CompiledQueryCacheEntry.cs
- TextTreeNode.cs
- DocumentViewerBaseAutomationPeer.cs
- Char.cs
- WorkflowRuntimeServiceElement.cs
- ResourceType.cs
- RuleSet.cs
- PackageDigitalSignature.cs
- _CookieModule.cs
- ToolStripComboBox.cs
- CngAlgorithmGroup.cs
- PropertyStore.cs
- FacetValues.cs
- SetIterators.cs
- RectangleHotSpot.cs
- SessionEndingCancelEventArgs.cs
- _Connection.cs
- ToolStripArrowRenderEventArgs.cs
- ActivityTypeResolver.xaml.cs
- AudioLevelUpdatedEventArgs.cs
- CharacterMetrics.cs
- ConfigurationValues.cs
- DesignerSerializationOptionsAttribute.cs
- DrawingImage.cs
- ReflectEventDescriptor.cs
- AlphabetConverter.cs
- RuleInfoComparer.cs
- ScriptingSectionGroup.cs
- DataRecordObjectView.cs
- RectValueSerializer.cs
- SourceInterpreter.cs
- XslUrlEditor.cs
- UnionExpr.cs
- IRCollection.cs
- ToolboxBitmapAttribute.cs
- WmlFormAdapter.cs
- GlyphingCache.cs
- SoapSchemaMember.cs
- MultiDataTrigger.cs
- ConfigurationStrings.cs
- MaskPropertyEditor.cs
- RangeBaseAutomationPeer.cs
- DateTimeParse.cs
- ThreadAbortException.cs
- SiteMapNodeCollection.cs
- _emptywebproxy.cs
- DataGridViewTextBoxColumn.cs
- TrackingServices.cs
- StrongNameKeyPair.cs
- ISAPIApplicationHost.cs
- ClientScriptManager.cs
- ContentTypeSettingClientMessageFormatter.cs
- SqlProvider.cs
- CatalogZoneDesigner.cs