Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Rectangle.cs
- RenderData.cs
- ButtonChrome.cs
- webeventbuffer.cs
- ListItemDetailViewAttribute.cs
- PageFunction.cs
- SessionStateUtil.cs
- CompositeScriptReference.cs
- ColumnBinding.cs
- NetPipeSectionData.cs
- ListViewSelectEventArgs.cs
- WebPartZone.cs
- ValidatorUtils.cs
- ClusterRegistryConfigurationProvider.cs
- ToolStripItemDesigner.cs
- HttpAsyncResult.cs
- WebPartEditVerb.cs
- ListControlConvertEventArgs.cs
- Int32Storage.cs
- SplineQuaternionKeyFrame.cs
- TextBlock.cs
- ObjectRef.cs
- BindingNavigatorDesigner.cs
- IconConverter.cs
- VirtualPathUtility.cs
- SystemUnicastIPAddressInformation.cs
- DataViewManagerListItemTypeDescriptor.cs
- HttpCookie.cs
- CommonDialog.cs
- Stack.cs
- ChangeNode.cs
- SessionStateSection.cs
- DataGridViewCellConverter.cs
- mactripleDES.cs
- WebPartDisplayModeCollection.cs
- ExtendedPropertyCollection.cs
- SingleTagSectionHandler.cs
- TextEditorThreadLocalStore.cs
- Container.cs
- TextEditorParagraphs.cs
- UICuesEvent.cs
- HttpApplicationFactory.cs
- Rotation3DAnimationBase.cs
- Single.cs
- LoadRetryConstantStrategy.cs
- Int32Collection.cs
- ConsoleTraceListener.cs
- SortedDictionary.cs
- DataSourceHelper.cs
- HttpApplication.cs
- MetadataArtifactLoaderCompositeResource.cs
- ConversionContext.cs
- XmlElementList.cs
- InputScope.cs
- SimpleWorkerRequest.cs
- XmlCharacterData.cs
- StreamWriter.cs
- FileDialog_Vista_Interop.cs
- UnsafeNativeMethods.cs
- IPipelineRuntime.cs
- GroupBox.cs
- DataGridViewControlCollection.cs
- ServiceElement.cs
- WFItemsToSpacerVisibility.cs
- PseudoWebRequest.cs
- DrawingGroup.cs
- TrackingMemoryStreamFactory.cs
- MultiBinding.cs
- AddInPipelineAttributes.cs
- DataPagerField.cs
- AncestorChangedEventArgs.cs
- SettingsBindableAttribute.cs
- RotateTransform.cs
- ListenerConnectionModeReader.cs
- SpAudioStreamWrapper.cs
- WindowsTab.cs
- WindowsRichEditRange.cs
- BinaryWriter.cs
- DEREncoding.cs
- StatusBarDrawItemEvent.cs
- HtmlGenericControl.cs
- UiaCoreProviderApi.cs
- TextPointer.cs
- RichTextBoxConstants.cs
- XamlReader.cs
- SqlTrackingQuery.cs
- DataMisalignedException.cs
- ParserStreamGeometryContext.cs
- ApplicationInfo.cs
- SecurityProtocol.cs
- SqlTriggerAttribute.cs
- FixedHighlight.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- Panel.cs
- MarshalByValueComponent.cs
- StreamGeometry.cs
- Enum.cs
- IOException.cs
- ResourceExpressionBuilder.cs
- DataGridViewDataErrorEventArgs.cs