Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- MetadataItem_Static.cs
- XamlWriter.cs
- NodeFunctions.cs
- DynamicUpdateCommand.cs
- InputBuffer.cs
- LinearGradientBrush.cs
- HostedTcpTransportManager.cs
- Method.cs
- DeclaredTypeValidator.cs
- ToolStripPanelRenderEventArgs.cs
- ImageProxy.cs
- VectorAnimationUsingKeyFrames.cs
- CursorConverter.cs
- WhitespaceRuleReader.cs
- SpeechSynthesizer.cs
- EventItfInfo.cs
- DataRelationPropertyDescriptor.cs
- ObjectViewQueryResultData.cs
- GridViewRowPresenterBase.cs
- RegistryPermission.cs
- CodeLabeledStatement.cs
- CompiledRegexRunner.cs
- XmlCustomFormatter.cs
- SmiSettersStream.cs
- HMACSHA512.cs
- RelationshipConverter.cs
- SmuggledIUnknown.cs
- TransactedReceiveData.cs
- NamespaceCollection.cs
- MediaContext.cs
- MethodRental.cs
- IpcServerChannel.cs
- PerfCounterSection.cs
- DataGridViewUtilities.cs
- MimeTypeMapper.cs
- XPathAncestorIterator.cs
- PartialCachingControl.cs
- RegexMatch.cs
- XsltFunctions.cs
- PropertyManager.cs
- LogLogRecordHeader.cs
- TypeDescriptorContext.cs
- AttributeAction.cs
- CodeStatement.cs
- TrackBar.cs
- XhtmlMobileTextWriter.cs
- WebPartChrome.cs
- AssemblyBuilder.cs
- Opcode.cs
- TcpPortSharing.cs
- ProjectedSlot.cs
- CssClassPropertyAttribute.cs
- Padding.cs
- Int16AnimationUsingKeyFrames.cs
- NamespaceInfo.cs
- AsymmetricSignatureFormatter.cs
- IEnumerable.cs
- InvokeProviderWrapper.cs
- ImageAnimator.cs
- StorageFunctionMapping.cs
- StreamReader.cs
- DataGridViewCellFormattingEventArgs.cs
- MyContact.cs
- ConstructorNeedsTagAttribute.cs
- SmtpSection.cs
- AddInController.cs
- DataTableReaderListener.cs
- FilterableAttribute.cs
- StringReader.cs
- ObservableCollection.cs
- TablePatternIdentifiers.cs
- DataBinder.cs
- KeyGestureValueSerializer.cs
- StringToken.cs
- SubtreeProcessor.cs
- PictureBoxDesigner.cs
- ReferenceSchema.cs
- HiddenFieldPageStatePersister.cs
- SafeRightsManagementHandle.cs
- SQLUtility.cs
- PenLineJoinValidation.cs
- DesignRelationCollection.cs
- OSFeature.cs
- RadioButtonFlatAdapter.cs
- FlowDocumentReaderAutomationPeer.cs
- IntSecurity.cs
- BasicKeyConstraint.cs
- BodyGlyph.cs
- ReaderOutput.cs
- RectangleGeometry.cs
- ReturnEventArgs.cs
- XamlFilter.cs
- ObjectCloneHelper.cs
- ExpandSegmentCollection.cs
- MailAddressCollection.cs
- MulticastOption.cs
- ContainerParagraph.cs
- HtmlTitle.cs
- DataBoundControlActionList.cs
- Condition.cs