Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Framework / System / Windows / Navigation / ReturnEventArgs.cs / 1 / ReturnEventArgs.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // ReturnEventArgs is a generic flavor of EventArgs, // that enable setting, getting a typed value that's // passed between Pagefunctions. // // History: // 05/09/03: marka Created. // 07/08/04: weibz Rename and make it compliant with guideline. // //--------------------------------------------------------------------------- using System; namespace System.Windows.Navigation { ////// ReturnEventArgs is a generic flavor of EventArgs, /// that enable setting, getting a typed value that's /// passed between Pagefunctions. /// public class ReturnEventArgs: System.EventArgs { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors /// /// ReturnEventArgs constructor /// public ReturnEventArgs() { } ////// ReturnEventArgs constructor. Supplied value is assigned to Result value /// ///Assigned to Result property public ReturnEventArgs( T result) { _result = result; } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties ////// The Result property indicates the result that a PageFunction is /// returning to it's caller, at the end of a Structured Navigation. /// public T Result { get { return _result; } set { _result = value; } } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private T _result; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // ReturnEventArgs is a generic flavor of EventArgs, // that enable setting, getting a typed value that's // passed between Pagefunctions. // // History: // 05/09/03: marka Created. // 07/08/04: weibz Rename and make it compliant with guideline. // //--------------------------------------------------------------------------- using System; namespace System.Windows.Navigation { ////// ReturnEventArgs is a generic flavor of EventArgs, /// that enable setting, getting a typed value that's /// passed between Pagefunctions. /// public class ReturnEventArgs: System.EventArgs { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors /// /// ReturnEventArgs constructor /// public ReturnEventArgs() { } ////// ReturnEventArgs constructor. Supplied value is assigned to Result value /// ///Assigned to Result property public ReturnEventArgs( T result) { _result = result; } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties ////// The Result property indicates the result that a PageFunction is /// returning to it's caller, at the end of a Structured Navigation. /// public T Result { get { return _result; } set { _result = value; } } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private T _result; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StickyNote.cs
- OdbcException.cs
- ImageList.cs
- CompilerCollection.cs
- FaultFormatter.cs
- ClientRolePrincipal.cs
- ExceptQueryOperator.cs
- PathParser.cs
- ReservationCollection.cs
- JsonWriterDelegator.cs
- RawStylusInputReport.cs
- MultipartContentParser.cs
- TypeListConverter.cs
- MediaTimeline.cs
- SharedPerformanceCounter.cs
- HttpException.cs
- Tile.cs
- ValueChangedEventManager.cs
- UInt16Storage.cs
- CultureTable.cs
- cookiecollection.cs
- SQLInt16Storage.cs
- StateBag.cs
- ArgumentOutOfRangeException.cs
- TaskFileService.cs
- EntityDataSourceDataSelectionPanel.cs
- CheckBoxList.cs
- ConditionalAttribute.cs
- OledbConnectionStringbuilder.cs
- TerminateSequenceResponse.cs
- SymmetricSecurityProtocol.cs
- MonthChangedEventArgs.cs
- indexingfiltermarshaler.cs
- TextSelection.cs
- HtmlTableCell.cs
- M3DUtil.cs
- Group.cs
- PopupRootAutomationPeer.cs
- SqlInternalConnectionTds.cs
- CacheChildrenQuery.cs
- StylusPlugin.cs
- RijndaelManagedTransform.cs
- CodeCompiler.cs
- CallbackHandler.cs
- ServiceMetadataExtension.cs
- OdbcConnectionPoolProviderInfo.cs
- HttpRequestContext.cs
- EmissiveMaterial.cs
- ValidationVisibilityAttribute.cs
- UniqueIdentifierService.cs
- CodeMemberMethod.cs
- TypeInfo.cs
- Attributes.cs
- ListSortDescriptionCollection.cs
- XmlSerializerOperationBehavior.cs
- MenuBindingsEditor.cs
- ArgumentNullException.cs
- ChildTable.cs
- Thumb.cs
- QilInvokeEarlyBound.cs
- RequestStatusBarUpdateEventArgs.cs
- CryptoKeySecurity.cs
- IndentedWriter.cs
- BookmarkManager.cs
- SequenceRange.cs
- SynchronizedDispatch.cs
- mediaclock.cs
- WCFBuildProvider.cs
- IgnoreDataMemberAttribute.cs
- XmlChildEnumerator.cs
- VersionedStreamOwner.cs
- NamespaceDecl.cs
- TagPrefixInfo.cs
- validation.cs
- SafeTokenHandle.cs
- SafeReadContext.cs
- securitycriticaldataClass.cs
- ControlCollection.cs
- Point3DConverter.cs
- TreeView.cs
- StringUtil.cs
- SystemIPInterfaceStatistics.cs
- WizardSideBarListControlItem.cs
- TabPage.cs
- XmlReflectionImporter.cs
- DockPattern.cs
- ColumnWidthChangedEvent.cs
- SelectionItemProviderWrapper.cs
- Point3DAnimationBase.cs
- IndexedString.cs
- InteropTrackingRecord.cs
- StrongNameMembershipCondition.cs
- FileUpload.cs
- HtmlInputButton.cs
- TextEditor.cs
- TrackingProfile.cs
- GridEntryCollection.cs
- AnnotationService.cs
- ProtocolsConfigurationHandler.cs
- HttpAsyncResult.cs