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
- BuildProvidersCompiler.cs
- ToolStripGrip.cs
- TypeLoadException.cs
- TerminatingOperationBehavior.cs
- ControlPropertyNameConverter.cs
- StateRuntime.cs
- PeerResolverBindingElement.cs
- QueryTask.cs
- DataServiceResponse.cs
- MsmqInputSessionChannelListener.cs
- DbDeleteCommandTree.cs
- EmptyQuery.cs
- RightNameExpirationInfoPair.cs
- ManagementObjectSearcher.cs
- uribuilder.cs
- Grammar.cs
- SafeWaitHandle.cs
- DeclaredTypeValidatorAttribute.cs
- SchemaTableColumn.cs
- ResizingMessageFilter.cs
- ReversePositionQuery.cs
- DataObjectFieldAttribute.cs
- AmbientLight.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- _AutoWebProxyScriptWrapper.cs
- ProcessStartInfo.cs
- TextEditorTyping.cs
- FileRegion.cs
- IdentityHolder.cs
- ImportOptions.cs
- OverrideMode.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- Site.cs
- HttpModuleActionCollection.cs
- UserNameSecurityTokenProvider.cs
- ExpressionLink.cs
- DelimitedListTraceListener.cs
- SqlClientFactory.cs
- StrokeNodeOperations.cs
- KnownColorTable.cs
- SimpleTypesSurrogate.cs
- ServiceMoniker.cs
- QilDataSource.cs
- XmlSubtreeReader.cs
- ListDictionaryInternal.cs
- BitmapCodecInfo.cs
- IndexedString.cs
- EntityContainerEntitySetDefiningQuery.cs
- HtmlInputImage.cs
- Mapping.cs
- basevalidator.cs
- HtmlHistory.cs
- EmbeddedMailObject.cs
- AudioDeviceOut.cs
- ListDataHelper.cs
- XmlHierarchicalDataSourceView.cs
- SchemaMapping.cs
- Geometry3D.cs
- CommandSet.cs
- Baml2006ReaderContext.cs
- NativeObjectSecurity.cs
- InfoCardSchemas.cs
- QueryStringParameter.cs
- DynamicMethod.cs
- MouseEvent.cs
- CheckBoxField.cs
- ObjectParameterCollection.cs
- ColorAnimationBase.cs
- shaper.cs
- BaseTreeIterator.cs
- RegexParser.cs
- DocumentGridContextMenu.cs
- HostVisual.cs
- SafeJobHandle.cs
- HtmlInputCheckBox.cs
- _ConnectOverlappedAsyncResult.cs
- COM2ColorConverter.cs
- StylusDevice.cs
- ResXResourceReader.cs
- DelegateBodyWriter.cs
- Utility.cs
- BoundPropertyEntry.cs
- WindowsNonControl.cs
- ContractSearchPattern.cs
- Matrix3D.cs
- QilReplaceVisitor.cs
- EmbossBitmapEffect.cs
- RuleProcessor.cs
- Freezable.cs
- Int32AnimationBase.cs
- EditingCommands.cs
- PathStreamGeometryContext.cs
- SoapEnumAttribute.cs
- WebPartCancelEventArgs.cs
- TimeSpanSecondsConverter.cs
- ServiceHttpHandlerFactory.cs
- LowerCaseStringConverter.cs
- ListItem.cs
- SafeTokenHandle.cs
- BlockUIContainer.cs