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
- CodeSnippetTypeMember.cs
- MailDefinition.cs
- EditorZoneBase.cs
- UIElementIsland.cs
- PartialCachingControl.cs
- EastAsianLunisolarCalendar.cs
- RecordManager.cs
- ScriptingAuthenticationServiceSection.cs
- EnumMember.cs
- UpWmlPageAdapter.cs
- DataGridColumnFloatingHeader.cs
- ProfileService.cs
- SoapServerMethod.cs
- ClientProxyGenerator.cs
- ChangePassword.cs
- ObjectDataSourceDesigner.cs
- TransformValueSerializer.cs
- ItemCollection.cs
- Freezable.cs
- SettingsBase.cs
- UpdateManifestForBrowserApplication.cs
- CatalogPartCollection.cs
- ConstraintConverter.cs
- HtmlInputReset.cs
- UrlMappingsSection.cs
- EntityDataSourceMemberPath.cs
- WindowsRebar.cs
- AccessDataSourceView.cs
- HtmlTextArea.cs
- XamlDesignerSerializationManager.cs
- PageCatalogPart.cs
- ArcSegment.cs
- _UriTypeConverter.cs
- HashHelper.cs
- CapabilitiesAssignment.cs
- KeyGestureConverter.cs
- SelectorItemAutomationPeer.cs
- WriterOutput.cs
- _NestedSingleAsyncResult.cs
- NetNamedPipeBinding.cs
- ExceptionHandlersDesigner.cs
- Cursor.cs
- DataGridViewLinkColumn.cs
- Rect3DValueSerializer.cs
- TreeViewDesigner.cs
- CircleHotSpot.cs
- OdbcDataReader.cs
- TypeGenericEnumerableViewSchema.cs
- HtmlControlPersistable.cs
- Processor.cs
- ScriptServiceAttribute.cs
- ActivityExecutorSurrogate.cs
- util.cs
- SqlCacheDependencySection.cs
- ModuleBuilder.cs
- PassportAuthenticationModule.cs
- HtmlValidationSummaryAdapter.cs
- CredentialCache.cs
- SetterBaseCollection.cs
- UnionExpr.cs
- Walker.cs
- IsolationInterop.cs
- LayoutUtils.cs
- ProvidersHelper.cs
- DependsOnAttribute.cs
- MsmqChannelListenerBase.cs
- SQLSingleStorage.cs
- ExpressionVisitor.cs
- TimeIntervalCollection.cs
- WindowsRebar.cs
- MimeReturn.cs
- ConfigXmlAttribute.cs
- WebRequestModuleElementCollection.cs
- PrtTicket_Public.cs
- BaseTemplateBuildProvider.cs
- ParserStreamGeometryContext.cs
- FixedSOMPageElement.cs
- ResourceDescriptionAttribute.cs
- MachineKeySection.cs
- TableCellAutomationPeer.cs
- CookieParameter.cs
- ToolConsole.cs
- AbstractSvcMapFileLoader.cs
- RequestQueryProcessor.cs
- SelectionUIHandler.cs
- _IPv6Address.cs
- PartialArray.cs
- SpellerHighlightLayer.cs
- EventPrivateKey.cs
- Point4DValueSerializer.cs
- AttachedAnnotationChangedEventArgs.cs
- XamlToRtfWriter.cs
- IsolatedStorage.cs
- Path.cs
- CursorConverter.cs
- RenderingEventArgs.cs
- Cursor.cs
- WinFormsSecurity.cs
- SecurityCapabilities.cs
- DBPropSet.cs