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
- ToolStripPanelCell.cs
- MemberPath.cs
- GPPOINT.cs
- XmlSerializerNamespaces.cs
- ToolStripPanelRenderEventArgs.cs
- DockPattern.cs
- login.cs
- CellQuery.cs
- PageClientProxyGenerator.cs
- HtmlLink.cs
- Point3D.cs
- WeakReference.cs
- EntitySqlException.cs
- Vector3DKeyFrameCollection.cs
- securitycriticaldata.cs
- IsolatedStorageFile.cs
- HuffModule.cs
- OptimizedTemplateContent.cs
- ByteAnimationUsingKeyFrames.cs
- XmlSchemaAny.cs
- AlignmentYValidation.cs
- FloaterParaClient.cs
- DataGridViewCellParsingEventArgs.cs
- DesignTimeParseData.cs
- ProcessModelSection.cs
- XmlnsCache.cs
- DesignTimeVisibleAttribute.cs
- Compiler.cs
- LexicalChunk.cs
- UriWriter.cs
- SystemColors.cs
- MetabaseSettingsIis7.cs
- XmlValueConverter.cs
- XmlUtil.cs
- DependencyProperty.cs
- _SpnDictionary.cs
- Misc.cs
- CodeThrowExceptionStatement.cs
- FixedStringLookup.cs
- ExceptionUtil.cs
- WsdlExporter.cs
- ConfigurationManagerInternal.cs
- SerializationObjectManager.cs
- UserControlAutomationPeer.cs
- IntegerValidatorAttribute.cs
- ReflectionServiceProvider.cs
- GridViewColumnHeader.cs
- GeneralTransform2DTo3D.cs
- X509Certificate2Collection.cs
- SafeRightsManagementSessionHandle.cs
- brushes.cs
- ExpandSegmentCollection.cs
- Image.cs
- XmlEntityReference.cs
- SimpleTextLine.cs
- ComponentEditorForm.cs
- BamlCollectionHolder.cs
- WebScriptEndpoint.cs
- NameValueSectionHandler.cs
- DescendentsWalkerBase.cs
- DataGridItemCollection.cs
- PartialArray.cs
- _Events.cs
- ManifestResourceInfo.cs
- CmsInterop.cs
- DynamicResourceExtensionConverter.cs
- DataGridDesigner.cs
- RecognitionResult.cs
- TextTreeTextBlock.cs
- CacheChildrenQuery.cs
- ContextMenu.cs
- Parallel.cs
- InvalidDataContractException.cs
- HelpEvent.cs
- SqlDataSourceParameterParser.cs
- BinHexDecoder.cs
- DetailsView.cs
- Geometry.cs
- FixedPageProcessor.cs
- MetadataItemEmitter.cs
- RPIdentityRequirement.cs
- TextTreeTextElementNode.cs
- Command.cs
- ScrollBar.cs
- ServiceMemoryGates.cs
- JsonDeserializer.cs
- SqlFunctions.cs
- FixedPageProcessor.cs
- SqlTypeConverter.cs
- Wizard.cs
- Soap.cs
- WebPartDescription.cs
- DataServiceRequestArgs.cs
- MultilineStringEditor.cs
- ConfigXmlElement.cs
- CornerRadiusConverter.cs
- LinqDataView.cs
- NamespaceImport.cs
- TableLayoutStyle.cs
- WindowsRebar.cs