Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // //----------------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RangeBase.cs
- TextTreeInsertElementUndoUnit.cs
- ExecutionEngineException.cs
- StateBag.cs
- TableLayoutRowStyleCollection.cs
- ProxyWebPartConnectionCollection.cs
- xml.cs
- CharStorage.cs
- MenuItemStyleCollection.cs
- XmlSchemaAttributeGroup.cs
- Suspend.cs
- EastAsianLunisolarCalendar.cs
- XmlDocumentSerializer.cs
- DynamicResourceExtensionConverter.cs
- AliasedSlot.cs
- DataControlFieldHeaderCell.cs
- SourceElementsCollection.cs
- TextRunTypographyProperties.cs
- SecurityPolicyVersion.cs
- LicenseManager.cs
- mediapermission.cs
- WebEventCodes.cs
- BrowserInteropHelper.cs
- MemoryFailPoint.cs
- unsafenativemethodsother.cs
- DataServiceStreamResponse.cs
- TdsRecordBufferSetter.cs
- TypefaceMap.cs
- COM2ExtendedUITypeEditor.cs
- ProfileGroupSettings.cs
- Options.cs
- HttpCacheParams.cs
- RealizationDrawingContextWalker.cs
- VScrollProperties.cs
- PositiveTimeSpanValidatorAttribute.cs
- XmlTextReaderImpl.cs
- ConfigXmlSignificantWhitespace.cs
- SimpleHandlerFactory.cs
- GC.cs
- MaskedTextBoxTextEditorDropDown.cs
- WSDualHttpSecurity.cs
- FunctionParameter.cs
- _SingleItemRequestCache.cs
- XamlTreeBuilder.cs
- BindStream.cs
- SafeFindHandle.cs
- NotifyIcon.cs
- BaseResourcesBuildProvider.cs
- CriticalFinalizerObject.cs
- MimeTypeMapper.cs
- StylusSystemGestureEventArgs.cs
- EventListenerClientSide.cs
- LocalValueEnumerator.cs
- BufferBuilder.cs
- SubstitutionList.cs
- FileSystemEnumerable.cs
- WebSysDescriptionAttribute.cs
- HitTestWithPointDrawingContextWalker.cs
- CallbackHandler.cs
- AccessDataSource.cs
- SqlMethodTransformer.cs
- NumericUpDown.cs
- Error.cs
- DrawingContextWalker.cs
- coordinatorscratchpad.cs
- TreeNodeCollection.cs
- MsmqIntegrationInputMessage.cs
- WebHttpSecurityModeHelper.cs
- LinkLabelLinkClickedEvent.cs
- GridViewColumnHeaderAutomationPeer.cs
- DrawingAttributes.cs
- TextTreeDeleteContentUndoUnit.cs
- GeneralTransformGroup.cs
- OptimizerPatterns.cs
- documentsequencetextpointer.cs
- ProtocolsConfiguration.cs
- ToolboxItemAttribute.cs
- WebPartManagerInternals.cs
- ToolCreatedEventArgs.cs
- KeyToListMap.cs
- GridViewEditEventArgs.cs
- ExpandSegmentCollection.cs
- MasterPageParser.cs
- MailMessageEventArgs.cs
- GenericPrincipal.cs
- CodeChecksumPragma.cs
- EdmEntityTypeAttribute.cs
- ListBoxItemAutomationPeer.cs
- SqlDataSourceFilteringEventArgs.cs
- GridProviderWrapper.cs
- XmlWriter.cs
- SHA384Managed.cs
- UpdateTranslator.cs
- NameTable.cs
- XmlRootAttribute.cs
- ILGenerator.cs
- ResolvedKeyFrameEntry.cs
- ValidateNames.cs
- IriParsingElement.cs
- XmlDocumentSurrogate.cs