Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- DependencyPropertyKind.cs
- BamlWriter.cs
- EntityCollection.cs
- LineMetrics.cs
- WindowsFormsDesignerOptionService.cs
- jithelpers.cs
- ConfigurationSettings.cs
- MemberRestriction.cs
- ImageSource.cs
- MaskedTextProvider.cs
- ListInitExpression.cs
- BindingManagerDataErrorEventArgs.cs
- DictionarySectionHandler.cs
- DoubleAnimationUsingKeyFrames.cs
- DynamicDiscoveryDocument.cs
- ConsumerConnectionPoint.cs
- WmpBitmapEncoder.cs
- RadioButtonBaseAdapter.cs
- ParameterBuilder.cs
- AuthenticationConfig.cs
- NamedElement.cs
- BuildResultCache.cs
- StringKeyFrameCollection.cs
- TableCellAutomationPeer.cs
- CertificateElement.cs
- BStrWrapper.cs
- TimeSpan.cs
- IApplicationTrustManager.cs
- SchemaEntity.cs
- DataControlFieldCell.cs
- CaretElement.cs
- IntPtr.cs
- XmlSchemaSet.cs
- RegisteredDisposeScript.cs
- CodeAccessSecurityEngine.cs
- ObjectDataSourceSelectingEventArgs.cs
- UriTemplate.cs
- TextProviderWrapper.cs
- activationcontext.cs
- DesignerActionItemCollection.cs
- TextEditorSelection.cs
- NativeMethods.cs
- ResetableIterator.cs
- ConfigurationStrings.cs
- CombinedTcpChannel.cs
- validation.cs
- CurrentChangingEventArgs.cs
- DataGridView.cs
- TimeSpanStorage.cs
- UdpTransportSettings.cs
- InvokeProviderWrapper.cs
- BamlStream.cs
- Empty.cs
- OpenTypeMethods.cs
- Unit.cs
- safelink.cs
- ContentType.cs
- MILUtilities.cs
- TextStore.cs
- CodeIndexerExpression.cs
- SourceLocationProvider.cs
- TextTreeNode.cs
- Types.cs
- AttachedAnnotationChangedEventArgs.cs
- FindProgressChangedEventArgs.cs
- TimerEventSubscription.cs
- ImageCodecInfo.cs
- DecoderBestFitFallback.cs
- RequestCachingSection.cs
- ListViewInsertEventArgs.cs
- MailMessageEventArgs.cs
- XmlRootAttribute.cs
- SmtpClient.cs
- ColumnCollection.cs
- DynamicPropertyReader.cs
- WmlValidatorAdapter.cs
- ConstructorBuilder.cs
- View.cs
- CoTaskMemHandle.cs
- InputLanguageEventArgs.cs
- KnownTypeHelper.cs
- MetadataItemEmitter.cs
- MouseButton.cs
- SharedUtils.cs
- PropertyFilterAttribute.cs
- PrintDialog.cs
- ToolStripDesigner.cs
- EntityRecordInfo.cs
- TimerElapsedEvenArgs.cs
- MonitoringDescriptionAttribute.cs
- AsymmetricKeyExchangeFormatter.cs
- BoolExpression.cs
- NamedPermissionSet.cs
- iisPickupDirectory.cs
- Int16Storage.cs
- CatalogPartCollection.cs
- objectresult_tresulttype.cs
- HGlobalSafeHandle.cs
- AutoGeneratedFieldProperties.cs
- CssTextWriter.cs