Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / SelectedGridItemChangedEvent.cs / 1305376 / SelectedGridItemChangedEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Windows.Forms { using System.Diagnostics; using System; using System.ComponentModel; ////// /// The event class that is created when the selected GridItem in the PropertyGrid is changed by the user. /// public class SelectedGridItemChangedEventArgs : EventArgs { private GridItem oldSelection; private GridItem newSelection; ////// /// Constructs a SelectedGridItemChangedEventArgs object. /// public SelectedGridItemChangedEventArgs(GridItem oldSel, GridItem newSel) { this.oldSelection = oldSel; this.newSelection = newSel; } ////// /// The newly selected GridItem object /// public GridItem NewSelection { get { return this.newSelection; } } ////// /// The previously selected GridItem object. This can be null. /// public GridItem OldSelection { get { return this.oldSelection; } } } } // 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
- ServiceModelPerformanceCounters.cs
- DataGridRowEventArgs.cs
- ApplicationServiceManager.cs
- KeyValueConfigurationElement.cs
- HtmlTextBoxAdapter.cs
- SqlReferenceCollection.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- MarshalDirectiveException.cs
- ProfileGroupSettingsCollection.cs
- _SSPIWrapper.cs
- TextSegment.cs
- HtmlControlPersistable.cs
- RadioButtonFlatAdapter.cs
- CollectionViewSource.cs
- ValidatorCompatibilityHelper.cs
- BuiltInExpr.cs
- ExecutionScope.cs
- hresults.cs
- RuleProcessor.cs
- CachedPathData.cs
- QueuePathDialog.cs
- TheQuery.cs
- ExpressionNode.cs
- SortedList.cs
- OracleParameter.cs
- RectangleHotSpot.cs
- ToolboxBitmapAttribute.cs
- PingOptions.cs
- BaseCollection.cs
- GregorianCalendar.cs
- DataGridViewCellPaintingEventArgs.cs
- Size.cs
- EditorReuseAttribute.cs
- DateTimeFormatInfo.cs
- ChangePassword.cs
- TextServicesDisplayAttribute.cs
- XmlWellformedWriter.cs
- Helper.cs
- App.cs
- CompiledXpathExpr.cs
- GridViewRow.cs
- RegexReplacement.cs
- HideDisabledControlAdapter.cs
- MaterialGroup.cs
- SBCSCodePageEncoding.cs
- StrokeNodeOperations2.cs
- ObservableCollection.cs
- _UriTypeConverter.cs
- HtmlInputCheckBox.cs
- StorageComplexPropertyMapping.cs
- QueryModel.cs
- arabicshape.cs
- QilSortKey.cs
- ListView.cs
- CapabilitiesRule.cs
- ContextStack.cs
- MailHeaderInfo.cs
- TransformerTypeCollection.cs
- DataChangedEventManager.cs
- BitmapEncoder.cs
- UnsafeNativeMethods.cs
- TimeZone.cs
- ParserExtension.cs
- CodeNamespace.cs
- AssemblyCache.cs
- ByteAnimationBase.cs
- DataSet.cs
- DbParameterHelper.cs
- SystemKeyConverter.cs
- PointAnimationClockResource.cs
- SchemaMapping.cs
- GestureRecognitionResult.cs
- ToolStripRenderEventArgs.cs
- Image.cs
- ProfileEventArgs.cs
- RestrictedTransactionalPackage.cs
- TTSVoice.cs
- DataControlFieldCell.cs
- ElementHostPropertyMap.cs
- DeriveBytes.cs
- SizeChangedEventArgs.cs
- SqlLiftWhereClauses.cs
- RelationshipWrapper.cs
- Package.cs
- DayRenderEvent.cs
- SafeLibraryHandle.cs
- DataRowExtensions.cs
- Model3DCollection.cs
- DbConnectionClosed.cs
- Authorization.cs
- FtpWebResponse.cs
- LayoutInformation.cs
- XmlEncoding.cs
- StatusBarItem.cs
- X509Extension.cs
- StreamMarshaler.cs
- Helpers.cs
- SequenceDesignerAccessibleObject.cs
- DataContractSerializerMessageContractImporter.cs
- ZipIOExtraFieldElement.cs