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
- StylusPointPropertyInfoDefaults.cs
- Transform.cs
- PartialArray.cs
- FileStream.cs
- PathFigureCollection.cs
- Knowncolors.cs
- AsyncOperation.cs
- Transform.cs
- GeneralTransform3DTo2DTo3D.cs
- DriveInfo.cs
- GuidTagList.cs
- _SecureChannel.cs
- OleDbParameter.cs
- ToolStripDropDownButton.cs
- PropertyRef.cs
- NameValueFileSectionHandler.cs
- NamespaceQuery.cs
- FakeModelPropertyImpl.cs
- BinaryCommonClasses.cs
- RowUpdatedEventArgs.cs
- HasCopySemanticsAttribute.cs
- X509SecurityToken.cs
- PhysicalOps.cs
- SafeThreadHandle.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- GridViewCellAutomationPeer.cs
- ChangeInterceptorAttribute.cs
- DurationConverter.cs
- Composition.cs
- KoreanLunisolarCalendar.cs
- PageCatalogPart.cs
- RectAnimation.cs
- CodeGenerator.cs
- DrawingServices.cs
- Graph.cs
- SecurityHelper.cs
- XmlSerializationGeneratedCode.cs
- DictionaryEntry.cs
- XmlEntityReference.cs
- DataGridViewCellConverter.cs
- Image.cs
- ControlParameter.cs
- CharStorage.cs
- Comparer.cs
- Event.cs
- NameValueFileSectionHandler.cs
- _AutoWebProxyScriptHelper.cs
- XmlTextReader.cs
- QueryParameter.cs
- ResourcePart.cs
- SiteMapSection.cs
- FormViewDeleteEventArgs.cs
- HelpInfo.cs
- Attributes.cs
- SymLanguageVendor.cs
- LoadedOrUnloadedOperation.cs
- DataGridViewCellStyleChangedEventArgs.cs
- MetafileHeaderWmf.cs
- LocalizableAttribute.cs
- DesignerValidationSummaryAdapter.cs
- HttpAsyncResult.cs
- SpotLight.cs
- BamlTreeMap.cs
- odbcmetadatacolumnnames.cs
- KeyInstance.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- CodeValidator.cs
- ClientProtocol.cs
- XamlStyleSerializer.cs
- SQLDateTimeStorage.cs
- IgnorePropertiesAttribute.cs
- CommandLibraryHelper.cs
- ImageListStreamer.cs
- ResourceManager.cs
- PrimitiveCodeDomSerializer.cs
- bindurihelper.cs
- PropertyInfo.cs
- xmlformatgeneratorstatics.cs
- RequestCacheManager.cs
- SchemaTableColumn.cs
- DbConnectionHelper.cs
- ClickablePoint.cs
- ZipFileInfo.cs
- XsltArgumentList.cs
- BaseAddressPrefixFilterElementCollection.cs
- UserNameSecurityTokenAuthenticator.cs
- SEHException.cs
- SchemaNotation.cs
- Row.cs
- DesignerDataSchemaClass.cs
- SQLChars.cs
- XmlHierarchicalDataSourceView.cs
- CharEntityEncoderFallback.cs
- TemplatedMailWebEventProvider.cs
- ObjectDataSource.cs
- FixedPosition.cs
- PlacementWorkspace.cs
- BaseCodePageEncoding.cs
- TypeGenericEnumerableViewSchema.cs
- ProjectionPlanCompiler.cs