Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewRow.cs / 1 / DetailsViewRow.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 DetailsViewRow : TableRow { private int _rowIndex; private DataControlRowType _rowType; private DataControlRowState _rowState; ///Represents an individual row in the ///. /// public DetailsViewRow(int rowIndex, DataControlRowType rowType, DataControlRowState rowState) { this._rowIndex = rowIndex; this._rowType = rowType; this._rowState = rowState; } ///Initializes a new instance of the ///class. /// public virtual int RowIndex { get { return _rowIndex; } } ///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) { DetailsViewCommandEventArgs args = new DetailsViewCommandEventArgs(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 DetailsViewRow : TableRow { private int _rowIndex; private DataControlRowType _rowType; private DataControlRowState _rowState; ///Represents an individual row in the ///. /// public DetailsViewRow(int rowIndex, DataControlRowType rowType, DataControlRowState rowState) { this._rowIndex = rowIndex; this._rowType = rowType; this._rowState = rowState; } ///Initializes a new instance of the ///class. /// public virtual int RowIndex { get { return _rowIndex; } } ///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) { DetailsViewCommandEventArgs args = new DetailsViewCommandEventArgs(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
- ToolTipAutomationPeer.cs
- Cloud.cs
- VisualBasicExpressionConverter.cs
- CacheHelper.cs
- XamlParser.cs
- BaseAppDomainProtocolHandler.cs
- ClientApiGenerator.cs
- ComboBoxAutomationPeer.cs
- BookmarkScopeManager.cs
- SamlConditions.cs
- CodeExpressionCollection.cs
- SerializationInfo.cs
- SmtpSection.cs
- WmiEventSink.cs
- TransformGroup.cs
- Membership.cs
- NamespaceEmitter.cs
- OleDbError.cs
- Base64Stream.cs
- InputProviderSite.cs
- CopyCodeAction.cs
- PackagingUtilities.cs
- ProxyOperationRuntime.cs
- TiffBitmapEncoder.cs
- ResourceSet.cs
- StringFormat.cs
- ItemsControlAutomationPeer.cs
- NullableIntMinMaxAggregationOperator.cs
- StructuredTypeInfo.cs
- MethodImplAttribute.cs
- RealProxy.cs
- WebConfigurationHostFileChange.cs
- DataServiceProcessingPipelineEventArgs.cs
- TriggerBase.cs
- ImageClickEventArgs.cs
- WasAdminWrapper.cs
- Method.cs
- BuilderInfo.cs
- NetMsmqSecurityMode.cs
- PageVisual.cs
- UIAgentCrashedException.cs
- DBCommandBuilder.cs
- XsltQilFactory.cs
- TdsEnums.cs
- elementinformation.cs
- Thread.cs
- PopupControlService.cs
- ScriptMethodAttribute.cs
- DoubleStorage.cs
- CommonObjectSecurity.cs
- MessageEventSubscriptionService.cs
- XmlBinaryReader.cs
- ExecutionContext.cs
- BitmapFrameDecode.cs
- CompiledRegexRunner.cs
- ObservableDictionary.cs
- SessionPageStatePersister.cs
- QueryOutputWriter.cs
- fixedPageContentExtractor.cs
- XhtmlBasicSelectionListAdapter.cs
- TextEditorCopyPaste.cs
- ActiveXHost.cs
- DataServiceKeyAttribute.cs
- Point3D.cs
- ContentOperations.cs
- MailWebEventProvider.cs
- SqlException.cs
- DisplayMemberTemplateSelector.cs
- XmlSchemaComplexContentExtension.cs
- RemoteWebConfigurationHost.cs
- QilPatternVisitor.cs
- CellIdBoolean.cs
- WindowsFormsHelpers.cs
- GridLengthConverter.cs
- PriorityChain.cs
- InkCanvasSelectionAdorner.cs
- XsdSchemaFileEditor.cs
- UTF8Encoding.cs
- DuplicateDetector.cs
- DataGridItemEventArgs.cs
- MsmqIntegrationOutputChannel.cs
- SqlProvider.cs
- XmlHierarchyData.cs
- TransformerTypeCollection.cs
- DrawListViewItemEventArgs.cs
- QueryStatement.cs
- XmlNodeWriter.cs
- TextEditorDragDrop.cs
- CellLabel.cs
- ToolStripCodeDomSerializer.cs
- StringUtil.cs
- DataViewListener.cs
- RegistryPermission.cs
- ComponentResourceKey.cs
- SortFieldComparer.cs
- ViewLoader.cs
- MarginsConverter.cs
- DataReaderContainer.cs
- WriterOutput.cs
- ResourceDictionary.cs