Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- MetadataArtifactLoaderXmlReaderWrapper.cs
- CipherData.cs
- ArrayWithOffset.cs
- ApplicationSecurityInfo.cs
- DatePicker.cs
- ConditionalExpression.cs
- ProxyAttribute.cs
- DocumentSequence.cs
- CapabilitiesSection.cs
- SystemMulticastIPAddressInformation.cs
- DispatcherProcessingDisabled.cs
- SerializationHelper.cs
- TypedElement.cs
- ConfigurationHandlersInstallComponent.cs
- SoundPlayerAction.cs
- BindingsCollection.cs
- ProbeMatches11.cs
- ChannelEndpointElement.cs
- InplaceBitmapMetadataWriter.cs
- NetDataContractSerializer.cs
- BaseInfoTable.cs
- DbProviderFactory.cs
- ValueUtilsSmi.cs
- VarRemapper.cs
- FormsAuthenticationModule.cs
- TreeNode.cs
- ToolboxComponentsCreatingEventArgs.cs
- ArgumentNullException.cs
- RowBinding.cs
- ProcessStartInfo.cs
- IndentedWriter.cs
- PrintDialog.cs
- ConcurrentDictionary.cs
- ToolStripInSituService.cs
- IPAddressCollection.cs
- ViewCellRelation.cs
- CriticalHandle.cs
- KnownBoxes.cs
- FunctionQuery.cs
- BaseTypeViewSchema.cs
- XmlHierarchicalEnumerable.cs
- CodeBlockBuilder.cs
- X509Certificate.cs
- BitSet.cs
- ToolStripRendererSwitcher.cs
- DataReaderContainer.cs
- TableMethodGenerator.cs
- Compiler.cs
- VirtualPathProvider.cs
- FlowLayout.cs
- FileEnumerator.cs
- DataPagerFieldCommandEventArgs.cs
- ScrollableControl.cs
- PeerResolverElement.cs
- BypassElement.cs
- BaseCollection.cs
- ItemCheckedEvent.cs
- ObjectSelectorEditor.cs
- ClientConfigurationSystem.cs
- Marshal.cs
- DeclaredTypeValidator.cs
- SeverityFilter.cs
- Helpers.cs
- ChannelTerminatedException.cs
- AssemblyAttributes.cs
- PackageStore.cs
- LiteralTextContainerControlBuilder.cs
- TreeNodeCollection.cs
- LogicalExpr.cs
- RoleGroup.cs
- Int64Animation.cs
- HMACSHA512.cs
- DesignerDataTableBase.cs
- GACIdentityPermission.cs
- AnalyzedTree.cs
- Version.cs
- Object.cs
- ImageSourceConverter.cs
- DataGridViewAutoSizeModeEventArgs.cs
- DataGridViewBindingCompleteEventArgs.cs
- GatewayIPAddressInformationCollection.cs
- WindowPatternIdentifiers.cs
- TemplateBamlTreeBuilder.cs
- FilteredAttributeCollection.cs
- SQLMoney.cs
- ToRequest.cs
- PropertyMapper.cs
- Resources.Designer.cs
- SchemaRegistration.cs
- Canvas.cs
- ImageSourceValueSerializer.cs
- PersonalizationStateQuery.cs
- ColorTranslator.cs
- EmbeddedObject.cs
- ResourcePermissionBase.cs
- RegistryConfigurationProvider.cs
- FocusWithinProperty.cs
- XamlToRtfParser.cs
- IndexedEnumerable.cs
- TimeoutValidationAttribute.cs