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
- SQLInt32Storage.cs
- WorkflowQueue.cs
- MarkedHighlightComponent.cs
- XmlElementList.cs
- XmlSchemaGroupRef.cs
- ImportOptions.cs
- Registration.cs
- ClrPerspective.cs
- XamlParser.cs
- HttpFileCollection.cs
- JpegBitmapEncoder.cs
- SetterBaseCollection.cs
- Propagator.ExtentPlaceholderCreator.cs
- GlobalProxySelection.cs
- ClientOperationFormatterProvider.cs
- Font.cs
- FacetDescription.cs
- Walker.cs
- Image.cs
- UInt64.cs
- PropertyTabAttribute.cs
- XPathNavigatorReader.cs
- DataFieldConverter.cs
- FormatVersion.cs
- Point4DConverter.cs
- Polyline.cs
- UnauthorizedAccessException.cs
- OracleConnectionFactory.cs
- DataSysAttribute.cs
- EventMap.cs
- MouseEventArgs.cs
- UpdateCompiler.cs
- ProgressPage.cs
- ModelPerspective.cs
- AutomationElementCollection.cs
- DialogResultConverter.cs
- AuthenticationSection.cs
- CategoryGridEntry.cs
- ApplicationCommands.cs
- HtmlTableCellCollection.cs
- PageCatalogPart.cs
- ControlPropertyNameConverter.cs
- WebBrowserProgressChangedEventHandler.cs
- ProcessRequestArgs.cs
- ReadOnlyTernaryTree.cs
- DCSafeHandle.cs
- LogEntrySerialization.cs
- DPAPIProtectedConfigurationProvider.cs
- XmlDataSourceView.cs
- InsufficientMemoryException.cs
- ProgressBarHighlightConverter.cs
- ScriptingAuthenticationServiceSection.cs
- TabRenderer.cs
- SourceLineInfo.cs
- BinaryCommonClasses.cs
- AsyncOperationManager.cs
- CachedRequestParams.cs
- Parser.cs
- ParallelLoopState.cs
- LinearGradientBrush.cs
- CodeDOMUtility.cs
- DataControlReferenceCollection.cs
- SortQuery.cs
- X509PeerCertificateAuthentication.cs
- DefaultMemberAttribute.cs
- DataListAutoFormat.cs
- EventProviderTraceListener.cs
- ToolStripGripRenderEventArgs.cs
- IDReferencePropertyAttribute.cs
- WriteableBitmap.cs
- FontNamesConverter.cs
- DataGridHeaderBorder.cs
- ConnectionStringSettingsCollection.cs
- SamlAudienceRestrictionCondition.cs
- SafeSecurityHandles.cs
- BitmapEffect.cs
- OdbcEnvironment.cs
- ByteStack.cs
- FixedPageStructure.cs
- SqlTypeSystemProvider.cs
- Int32Rect.cs
- SerializationInfo.cs
- LocationUpdates.cs
- WebPartChrome.cs
- ProbeMatchesCD1.cs
- StreamWithDictionary.cs
- LinearKeyFrames.cs
- ScrollItemPatternIdentifiers.cs
- RegularExpressionValidator.cs
- objectquery_tresulttype.cs
- ModelPropertyImpl.cs
- SafeReadContext.cs
- MD5CryptoServiceProvider.cs
- IndexedString.cs
- cookiecollection.cs
- RefExpr.cs
- RpcCryptoContext.cs
- PointConverter.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- TriState.cs