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
- FileLogRecordHeader.cs
- Size3D.cs
- PrintDialogException.cs
- ClusterRegistryConfigurationProvider.cs
- WebScriptServiceHostFactory.cs
- DataServiceProviderMethods.cs
- MULTI_QI.cs
- EventMap.cs
- Graph.cs
- Pair.cs
- ComboBoxItem.cs
- SoapEnvelopeProcessingElement.cs
- LoginCancelEventArgs.cs
- DispatcherSynchronizationContext.cs
- WizardForm.cs
- CalendarItem.cs
- _LocalDataStoreMgr.cs
- ExternalException.cs
- MetadataCacheItem.cs
- DocumentViewerConstants.cs
- CodeTypeDeclaration.cs
- SessionStateUtil.cs
- MediaTimeline.cs
- Typography.cs
- PolyLineSegment.cs
- DbBuffer.cs
- SubMenuStyle.cs
- PbrsForward.cs
- UshortList2.cs
- EventNotify.cs
- Int32CAMarshaler.cs
- KnownIds.cs
- DesignerDataParameter.cs
- SecurityPolicySection.cs
- SchemaTableOptionalColumn.cs
- ScriptResourceAttribute.cs
- ScrollItemPatternIdentifiers.cs
- XmlSchemaElement.cs
- RowUpdatingEventArgs.cs
- DependencyObjectPropertyDescriptor.cs
- OledbConnectionStringbuilder.cs
- DataGridColumnHeadersPresenter.cs
- SchemaCollectionCompiler.cs
- HealthMonitoringSection.cs
- TextBoxRenderer.cs
- EndOfStreamException.cs
- CodePropertyReferenceExpression.cs
- ChannelBinding.cs
- XPathNavigatorReader.cs
- XmlSerializerOperationGenerator.cs
- TokenBasedSet.cs
- BindStream.cs
- StoreAnnotationsMap.cs
- DataBinding.cs
- TypeBrowserDialog.cs
- oledbconnectionstring.cs
- Event.cs
- ViewCellRelation.cs
- DataGridViewColumnHeaderCell.cs
- AccessorTable.cs
- ProvidersHelper.cs
- Geometry.cs
- GACIdentityPermission.cs
- DrawListViewColumnHeaderEventArgs.cs
- AutoSizeComboBox.cs
- WhileDesigner.cs
- ScriptResourceInfo.cs
- StrokeNodeEnumerator.cs
- EventBuilder.cs
- WebRequestModulesSection.cs
- Stackframe.cs
- DataBindEngine.cs
- CompiledAction.cs
- ComboBox.cs
- ObjectStateEntryDbDataRecord.cs
- LocationSectionRecord.cs
- EllipticalNodeOperations.cs
- WSSecurityTokenSerializer.cs
- TimeoutException.cs
- ExtendedPropertyCollection.cs
- TcpChannelFactory.cs
- TransformerConfigurationWizardBase.cs
- ProcessHostMapPath.cs
- EntityConnectionStringBuilder.cs
- Label.cs
- FamilyTypeface.cs
- Html32TextWriter.cs
- FilePrompt.cs
- ListBindingHelper.cs
- SharedStatics.cs
- MultipartIdentifier.cs
- WebBrowserProgressChangedEventHandler.cs
- XPathChildIterator.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- PassportPrincipal.cs
- TextParagraphCache.cs
- SystemResources.cs
- SafeNativeMethodsOther.cs
- ContentFilePart.cs
- ResourceDictionaryCollection.cs