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
- ViewBase.cs
- ComboBoxItem.cs
- NavigateEvent.cs
- cache.cs
- ParallelEnumerable.cs
- serverconfig.cs
- StylesEditorDialog.cs
- CryptoKeySecurity.cs
- FileDataSourceCache.cs
- ExpressionBuilder.cs
- InfoCardTraceRecord.cs
- TableLayoutPanelCodeDomSerializer.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SqlRowUpdatingEvent.cs
- ExpandSegmentCollection.cs
- HtmlElementEventArgs.cs
- RegexFCD.cs
- DocumentReference.cs
- ExternalException.cs
- SqlRemoveConstantOrderBy.cs
- XmlnsDefinitionAttribute.cs
- PointUtil.cs
- ScrollEventArgs.cs
- Opcode.cs
- ModuleBuilder.cs
- WebPartConnectionsCancelEventArgs.cs
- SqlLiftIndependentRowExpressions.cs
- NativeMethods.cs
- RIPEMD160.cs
- CompilerLocalReference.cs
- SchemaTableColumn.cs
- ProbeMatchesMessage11.cs
- Table.cs
- ButtonAutomationPeer.cs
- ToolboxComponentsCreatedEventArgs.cs
- InstanceStoreQueryResult.cs
- PointIndependentAnimationStorage.cs
- Pair.cs
- PerformanceCounterPermissionEntry.cs
- PeerNameRecordCollection.cs
- InspectionWorker.cs
- BinaryVersion.cs
- ObfuscationAttribute.cs
- IIS7WorkerRequest.cs
- Transform3DGroup.cs
- SiteMapPathDesigner.cs
- WebServiceHostFactory.cs
- UnSafeCharBuffer.cs
- QilInvokeLateBound.cs
- EntitySqlQueryCacheKey.cs
- TraceInternal.cs
- ProvideValueServiceProvider.cs
- SetStoryboardSpeedRatio.cs
- HtmlImage.cs
- TypedAsyncResult.cs
- PageAsyncTaskManager.cs
- XmlMessageFormatter.cs
- DesignerActionPanel.cs
- TickBar.cs
- FormsAuthentication.cs
- Expression.cs
- NodeFunctions.cs
- HtmlLink.cs
- TextDocumentView.cs
- Label.cs
- CapabilitiesUse.cs
- UInt16Storage.cs
- PolyQuadraticBezierSegment.cs
- AssemblyUtil.cs
- URLMembershipCondition.cs
- ItemCheckEvent.cs
- XmlSchemaValidator.cs
- ConfigurationElementCollection.cs
- ToolStripContainer.cs
- BuilderPropertyEntry.cs
- TypeReference.cs
- EditorZoneBase.cs
- HtmlAnchor.cs
- SafeNativeMethods.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ProxyWebPart.cs
- CachedResourceDictionaryExtension.cs
- ComponentConverter.cs
- InputLangChangeEvent.cs
- BufferedGraphicsManager.cs
- ToolStripSplitStackLayout.cs
- BaseAddressElement.cs
- isolationinterop.cs
- PageEventArgs.cs
- PropertySourceInfo.cs
- HttpValueCollection.cs
- ComponentGuaranteesAttribute.cs
- DSGeneratorProblem.cs
- RoleGroupCollectionEditor.cs
- MachineKeySection.cs
- CriticalExceptions.cs
- TextElementEnumerator.cs
- Validator.cs
- MobileTextWriter.cs
- HotSpot.cs