Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / WinForms / Managed / System / WinForms / SelectedGridItemChangedEvent.cs / 1 / 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
- TableLayoutPanelCellPosition.cs
- TraceRecord.cs
- ColumnReorderedEventArgs.cs
- DoubleKeyFrameCollection.cs
- Transform.cs
- PatternMatcher.cs
- xdrvalidator.cs
- CodeNamespaceImportCollection.cs
- AuthenticatingEventArgs.cs
- IgnoreFlushAndCloseStream.cs
- SoapHeaders.cs
- ControlPropertyNameConverter.cs
- ToolboxComponentsCreatedEventArgs.cs
- HttpRuntime.cs
- EntityTransaction.cs
- SelectedGridItemChangedEvent.cs
- _HelperAsyncResults.cs
- TextAnchor.cs
- ReflectionUtil.cs
- WsdlWriter.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- CodeLabeledStatement.cs
- DrawListViewItemEventArgs.cs
- RegionInfo.cs
- GridLength.cs
- DataControlImageButton.cs
- BackgroundWorker.cs
- CompilerScope.Storage.cs
- DetailsViewPagerRow.cs
- SecurityContextCookieSerializer.cs
- MissingMemberException.cs
- InputMethod.cs
- WebScriptMetadataMessageEncoderFactory.cs
- MessageBox.cs
- TableCell.cs
- ConfigurationValue.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- AutoFocusStyle.xaml.cs
- FormsIdentity.cs
- BindUriHelper.cs
- Animatable.cs
- Splitter.cs
- MdiWindowListItemConverter.cs
- TemplateComponentConnector.cs
- TextTreeExtractElementUndoUnit.cs
- BamlLocalizableResource.cs
- ArithmeticException.cs
- ErrorEventArgs.cs
- StrokeNodeEnumerator.cs
- CacheDependency.cs
- Win32PrintDialog.cs
- FixedSOMTable.cs
- WebReferenceCollection.cs
- OdbcConnectionPoolProviderInfo.cs
- HybridDictionary.cs
- DataGridViewCellFormattingEventArgs.cs
- FontFamily.cs
- RowsCopiedEventArgs.cs
- OrderedDictionary.cs
- BitmapVisualManager.cs
- AttachedPropertyBrowsableAttribute.cs
- GlyphShapingProperties.cs
- AuthenticationService.cs
- HeaderCollection.cs
- HttpDebugHandler.cs
- ToolboxItemWrapper.cs
- SiteMap.cs
- NamedPipeConnectionPoolSettingsElement.cs
- TextBox.cs
- DataServiceQueryProvider.cs
- MediaEntryAttribute.cs
- AsyncCodeActivityContext.cs
- DynamicEndpointElement.cs
- RegexMatchCollection.cs
- DataGridBoolColumn.cs
- ConfigurationManagerInternal.cs
- Sql8ExpressionRewriter.cs
- RelationshipEndCollection.cs
- RepeatButton.cs
- ObjectSet.cs
- UnSafeCharBuffer.cs
- DocumentOrderQuery.cs
- Size3D.cs
- BaseAsyncResult.cs
- TextBreakpoint.cs
- EntityDataSourceWizardForm.cs
- ButtonDesigner.cs
- XmlDictionaryString.cs
- QilPatternVisitor.cs
- CodeTypeOfExpression.cs
- PasswordBox.cs
- DisposableCollectionWrapper.cs
- ReadOnlyPropertyMetadata.cs
- SoapMessage.cs
- AndMessageFilterTable.cs
- AutoGeneratedFieldProperties.cs
- ModelItemDictionary.cs
- ImpersonateTokenRef.cs
- TypeTypeConverter.cs
- MetadataUtilsSmi.cs