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
- OdbcParameterCollection.cs
- EndpointDiscoveryMetadata.cs
- DocumentSequenceHighlightLayer.cs
- ColumnMap.cs
- InstancePersistenceEvent.cs
- InputMethodStateChangeEventArgs.cs
- ServiceDescription.cs
- UrlMappingsModule.cs
- ExtendedProtectionPolicy.cs
- ProtocolsConfiguration.cs
- TerminateSequenceResponse.cs
- FormView.cs
- AdornerLayer.cs
- RoutedEvent.cs
- TextContainerHelper.cs
- Rect3DConverter.cs
- PackageStore.cs
- IndexedEnumerable.cs
- DefaultParameterValueAttribute.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- PropertyChangingEventArgs.cs
- GroupItemAutomationPeer.cs
- TransportSecurityBindingElement.cs
- TimelineCollection.cs
- InheritanceContextHelper.cs
- XmlWriterSettings.cs
- QilInvoke.cs
- ParameterReplacerVisitor.cs
- Attributes.cs
- AbstractExpressions.cs
- TableRow.cs
- GPRECTF.cs
- _DomainName.cs
- EntityDataSourceUtil.cs
- Mappings.cs
- DatePickerTextBox.cs
- TopClause.cs
- LinqDataSourceSelectEventArgs.cs
- Switch.cs
- CacheVirtualItemsEvent.cs
- MasterPage.cs
- ObjectViewEntityCollectionData.cs
- DrawTreeNodeEventArgs.cs
- XsltArgumentList.cs
- ValueUtilsSmi.cs
- PenThreadWorker.cs
- DiscoveryExceptionDictionary.cs
- TextBoxBase.cs
- CodeTypeReferenceCollection.cs
- InvokeAction.cs
- EditorAttribute.cs
- SystemIPGlobalProperties.cs
- HttpModule.cs
- CustomSignedXml.cs
- WorkflowApplicationEventArgs.cs
- ExceptionTrace.cs
- RoutedPropertyChangedEventArgs.cs
- RadioButton.cs
- CustomValidator.cs
- FileDataSourceCache.cs
- HtmlTableRowCollection.cs
- StructuralObject.cs
- ApplicationFileParser.cs
- CustomErrorsSection.cs
- SystemTcpStatistics.cs
- CodeMemberProperty.cs
- SerializationStore.cs
- sqlcontext.cs
- XmlResolver.cs
- EllipseGeometry.cs
- ScrollChrome.cs
- ResolveNameEventArgs.cs
- ScrollEvent.cs
- SystemSounds.cs
- InstancePersistence.cs
- ObfuscationAttribute.cs
- CodeExpressionCollection.cs
- DbMetaDataCollectionNames.cs
- CaseExpr.cs
- HtmlTableRowCollection.cs
- CalculatedColumn.cs
- AttributeData.cs
- StaticSiteMapProvider.cs
- DrawListViewItemEventArgs.cs
- COM2Enum.cs
- WebPartExportVerb.cs
- EventArgs.cs
- CodeTypeReference.cs
- DefaultTraceListener.cs
- CodeGeneratorOptions.cs
- PartialCachingAttribute.cs
- BitHelper.cs
- SpellerInterop.cs
- CompiledRegexRunner.cs
- XmlWrappingReader.cs
- XmlNodeComparer.cs
- ListViewUpdatedEventArgs.cs
- PathStreamGeometryContext.cs
- NameScope.cs
- TextEditorThreadLocalStore.cs