Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- FormsAuthenticationCredentials.cs
- WebPartTracker.cs
- ResXDataNode.cs
- MediaPlayerState.cs
- ContentControl.cs
- RawStylusInputCustomDataList.cs
- AssemblyFilter.cs
- Rotation3DAnimation.cs
- XmlILTrace.cs
- TextHintingModeValidation.cs
- Transform3DCollection.cs
- SecondaryIndex.cs
- GradientStopCollection.cs
- RemotingServices.cs
- SpeechSeg.cs
- SynchronizedDispatch.cs
- DynamicValidatorEventArgs.cs
- TextRangeAdaptor.cs
- HttpListenerContext.cs
- Ref.cs
- DecimalAnimationUsingKeyFrames.cs
- XmlSerializerVersionAttribute.cs
- StringReader.cs
- EnvelopedPkcs7.cs
- NestedContainer.cs
- FileFormatException.cs
- HwndKeyboardInputProvider.cs
- SqlBooleanMismatchVisitor.cs
- ConfigsHelper.cs
- JournalEntryListConverter.cs
- AnimationException.cs
- LayoutInformation.cs
- WebServiceHandler.cs
- DataGridItem.cs
- ACL.cs
- Module.cs
- QueryStringParameter.cs
- DependentList.cs
- RuleSettingsCollection.cs
- Operators.cs
- SettingsBase.cs
- ConditionCollection.cs
- ToolConsole.cs
- StringWriter.cs
- UseManagedPresentationBindingElementImporter.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- StatementContext.cs
- FragmentQueryProcessor.cs
- Visitor.cs
- LayoutEvent.cs
- Root.cs
- ToolStripDropDown.cs
- InputMethod.cs
- sqlinternaltransaction.cs
- ContentDesigner.cs
- TableLayoutColumnStyleCollection.cs
- HwndSourceKeyboardInputSite.cs
- PipelineModuleStepContainer.cs
- SamlSecurityToken.cs
- SymDocumentType.cs
- AudioException.cs
- BamlRecordWriter.cs
- DefinitionUpdate.cs
- ConfigXmlAttribute.cs
- SecurityTokenParametersEnumerable.cs
- ValidationSummaryDesigner.cs
- DataColumnMapping.cs
- ProviderConnectionPointCollection.cs
- future.cs
- MetadataSerializer.cs
- TableCell.cs
- ErrorEventArgs.cs
- datacache.cs
- TcpTransportManager.cs
- MatrixTransform3D.cs
- BitmapScalingModeValidation.cs
- UInt64Storage.cs
- TagNameToTypeMapper.cs
- TemplateBindingExtension.cs
- DebugView.cs
- WebPartDisplayModeCancelEventArgs.cs
- SecurityElement.cs
- NamedPipeTransportBindingElement.cs
- EntityDataSourceConfigureObjectContextPanel.cs
- ToolboxItemSnapLineBehavior.cs
- EventMappingSettings.cs
- WindowsStatic.cs
- SafeBitVector32.cs
- ZoomPercentageConverter.cs
- WCFBuildProvider.cs
- CodeDirectiveCollection.cs
- PinnedBufferMemoryStream.cs
- RealProxy.cs
- UnmanagedMarshal.cs
- DesignSurfaceServiceContainer.cs
- DictionaryItemsCollection.cs
- DataGridView.cs
- DataGridViewDataConnection.cs
- PropertyReferenceExtension.cs
- VisualBrush.cs