Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ThreadPool.cs
- __Filters.cs
- Knowncolors.cs
- ServiceOperationInfoTypeConverter.cs
- Rotation3DAnimation.cs
- ProcessModuleCollection.cs
- StandardToolWindows.cs
- Win32Exception.cs
- DataSourceSelectArguments.cs
- SessionPageStatePersister.cs
- ConfigurationSchemaErrors.cs
- ValidateNames.cs
- StylusButton.cs
- QilLoop.cs
- ProxyGenerator.cs
- RegexCompiler.cs
- OdbcErrorCollection.cs
- TableSectionStyle.cs
- Ref.cs
- _CookieModule.cs
- XmlSchemaExternal.cs
- XmlJsonWriter.cs
- RunWorkerCompletedEventArgs.cs
- TextOnlyOutput.cs
- ContentElement.cs
- WizardStepBase.cs
- AuthorizationRule.cs
- CalendarTable.cs
- EllipticalNodeOperations.cs
- WindowsListViewItemCheckBox.cs
- OdbcConnectionFactory.cs
- IriParsingElement.cs
- Attributes.cs
- MsmqInputChannelListenerBase.cs
- UInt16Converter.cs
- SmtpMail.cs
- TypedDataSourceCodeGenerator.cs
- PackWebRequestFactory.cs
- AttributeUsageAttribute.cs
- AutomationPatternInfo.cs
- PermissionListSet.cs
- PerfCounterSection.cs
- SafeSecurityHandles.cs
- LineBreak.cs
- XPathDocumentBuilder.cs
- PageBuildProvider.cs
- DeflateEmulationStream.cs
- sqlcontext.cs
- PackWebRequestFactory.cs
- FieldToken.cs
- StateWorkerRequest.cs
- DictionarySectionHandler.cs
- TextCharacters.cs
- DelegateSerializationHolder.cs
- Stylus.cs
- DataGridViewCheckBoxCell.cs
- ValidatorCollection.cs
- DataConnectionHelper.cs
- TextOutput.cs
- SafeArrayRankMismatchException.cs
- querybuilder.cs
- PropertyGeneratedEventArgs.cs
- smtppermission.cs
- CoreChannel.cs
- sqlser.cs
- DataSourceHelper.cs
- MasterPageCodeDomTreeGenerator.cs
- RegularExpressionValidator.cs
- ItemsControlAutomationPeer.cs
- CommonDialog.cs
- RuleProcessor.cs
- MetadataArtifactLoaderCompositeFile.cs
- TdsValueSetter.cs
- FunctionUpdateCommand.cs
- FixedMaxHeap.cs
- DocumentPageHost.cs
- DropShadowBitmapEffect.cs
- ProviderCommandInfoUtils.cs
- FileLogRecordHeader.cs
- NetTcpBinding.cs
- TraceHandler.cs
- SubclassTypeValidator.cs
- ViewGenerator.cs
- SqlClientMetaDataCollectionNames.cs
- TextContainer.cs
- wmiprovider.cs
- DesignerForm.cs
- TabItemWrapperAutomationPeer.cs
- ContainerParagraph.cs
- WindowManager.cs
- TableLayoutStyle.cs
- Popup.cs
- BypassElementCollection.cs
- GridViewCommandEventArgs.cs
- InternalDispatchObject.cs
- TreeNodeCollection.cs
- StaticFileHandler.cs
- ExpressionReplacer.cs
- BaseValidatorDesigner.cs
- ObjectFactoryCodeDomTreeGenerator.cs