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
- XmlUrlResolver.cs
- ServiceNameCollection.cs
- GeometryDrawing.cs
- SubstitutionDesigner.cs
- SortedDictionary.cs
- Semaphore.cs
- ColorMap.cs
- ServiceOperation.cs
- XmlSchemaImport.cs
- StdValidatorsAndConverters.cs
- ThreadStateException.cs
- ContextMarshalException.cs
- XmlSchemaSimpleType.cs
- MinMaxParagraphWidth.cs
- DataListDesigner.cs
- WebHeaderCollection.cs
- SafeEventLogWriteHandle.cs
- _NegoStream.cs
- Visual.cs
- AccessDataSourceView.cs
- DecimalAnimationBase.cs
- QueryResults.cs
- CommandEventArgs.cs
- MessageHeaderT.cs
- RegionInfo.cs
- DrawListViewSubItemEventArgs.cs
- UnmanagedHandle.cs
- UpDownBase.cs
- ObjectParameterCollection.cs
- MarginsConverter.cs
- XmlSubtreeReader.cs
- sortedlist.cs
- DataRecord.cs
- ImageFormat.cs
- arabicshape.cs
- TypeBuilderInstantiation.cs
- EntityDataSourceViewSchema.cs
- UserNamePasswordValidator.cs
- HtmlInputImage.cs
- SchemaNames.cs
- XmlSchemaExporter.cs
- UDPClient.cs
- DrawingServices.cs
- SqlUserDefinedTypeAttribute.cs
- Switch.cs
- TdsParserSessionPool.cs
- XmlFormatWriterGenerator.cs
- ScriptReferenceEventArgs.cs
- CodeGroup.cs
- NoneExcludedImageIndexConverter.cs
- TraceSwitch.cs
- LineGeometry.cs
- ResourceWriter.cs
- XmlWrappingReader.cs
- ConfigurationValue.cs
- ApplicationException.cs
- ComponentCache.cs
- EntityReference.cs
- XmlElementList.cs
- TemplateControl.cs
- SingleAnimationUsingKeyFrames.cs
- assemblycache.cs
- XmlAttributeHolder.cs
- GenericIdentity.cs
- SerialReceived.cs
- HyperLinkStyle.cs
- _StreamFramer.cs
- XmlAttributeProperties.cs
- XmlIterators.cs
- Attributes.cs
- TraceSection.cs
- TimeZone.cs
- TextContainerChangedEventArgs.cs
- TreeView.cs
- WaitHandle.cs
- IndexOutOfRangeException.cs
- CredentialCache.cs
- WsdlParser.cs
- httpserverutility.cs
- WinFormsUtils.cs
- PagesChangedEventArgs.cs
- XPathParser.cs
- XmlILOptimizerVisitor.cs
- WindowsToolbar.cs
- MethodRental.cs
- Listbox.cs
- HtmlTernaryTree.cs
- ReachIDocumentPaginatorSerializerAsync.cs
- Internal.cs
- Vector3DIndependentAnimationStorage.cs
- TcpClientSocketManager.cs
- FontStretchConverter.cs
- Propagator.Evaluator.cs
- LexicalChunk.cs
- LayoutTable.cs
- SqlCommandSet.cs
- DBSqlParser.cs
- COM2FontConverter.cs
- PageCatalogPartDesigner.cs
- ConstNode.cs