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
- XmlUtil.cs
- Publisher.cs
- WebPartChrome.cs
- DescendantOverDescendantQuery.cs
- TableLayoutStyleCollection.cs
- ToolStripSplitButton.cs
- PartialList.cs
- GridItemCollection.cs
- SQLBinary.cs
- SubpageParaClient.cs
- AssemblyBuilder.cs
- HttpWebResponse.cs
- LayoutEditorPart.cs
- NotifyInputEventArgs.cs
- RSAPKCS1SignatureFormatter.cs
- NamedPipeAppDomainProtocolHandler.cs
- Variable.cs
- DrawingContext.cs
- TextSchema.cs
- ErrorFormatterPage.cs
- FormClosedEvent.cs
- GenericEnumerator.cs
- Panel.cs
- BooleanKeyFrameCollection.cs
- CalculatedColumn.cs
- OleDbStruct.cs
- WorkflowElementDialogWindow.xaml.cs
- GetLedgerRequest.cs
- RepeatInfo.cs
- SessionStateContainer.cs
- ObjectDataSourceEventArgs.cs
- GroupBox.cs
- TableLayoutPanelCellPosition.cs
- Pipe.cs
- SrgsGrammar.cs
- AssemblyCacheEntry.cs
- ListViewItemMouseHoverEvent.cs
- AppDomainUnloadedException.cs
- StorageAssociationSetMapping.cs
- PropertyMappingExceptionEventArgs.cs
- DesignTimeVisibleAttribute.cs
- PenThread.cs
- WebPartCatalogCloseVerb.cs
- TextTreeRootTextBlock.cs
- GenericParameterDataContract.cs
- TypeConverterMarkupExtension.cs
- KnownTypes.cs
- WinFormsSecurity.cs
- DBSqlParserColumn.cs
- ResXResourceWriter.cs
- DynamicPhysicalDiscoSearcher.cs
- TextServicesContext.cs
- EmptyEnumerable.cs
- FileUtil.cs
- DelegatingConfigHost.cs
- ProfileModule.cs
- ConditionValidator.cs
- fixedPageContentExtractor.cs
- FormsAuthentication.cs
- RestHandler.cs
- HandleRef.cs
- TableCell.cs
- MouseButtonEventArgs.cs
- EntitySqlQueryCacheEntry.cs
- HttpDictionary.cs
- HandlerBase.cs
- XmlAggregates.cs
- ListItemParagraph.cs
- BoundField.cs
- DynamicPhysicalDiscoSearcher.cs
- ValidationHelpers.cs
- WinFormsSecurity.cs
- MsmqIntegrationInputMessage.cs
- HtmlInputFile.cs
- DataSpaceManager.cs
- Stopwatch.cs
- RankException.cs
- ToolStripContentPanel.cs
- formatter.cs
- TextSelectionHelper.cs
- AppearanceEditorPart.cs
- ToolStripContentPanel.cs
- SmtpFailedRecipientException.cs
- DebugView.cs
- ConvertersCollection.cs
- ControlBuilderAttribute.cs
- SerializationInfo.cs
- ClientRolePrincipal.cs
- SrgsElementFactoryCompiler.cs
- TextFormatterHost.cs
- SequenceDesigner.cs
- HtmlInputHidden.cs
- Int32.cs
- HtmlContainerControl.cs
- GridViewRowEventArgs.cs
- KerberosSecurityTokenParameters.cs
- SqlUserDefinedAggregateAttribute.cs
- BooleanAnimationUsingKeyFrames.cs
- QueryExpr.cs
- TdsParameterSetter.cs