Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Navigation / ReturnEventArgs.cs / 1305600 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DriveNotFoundException.cs
- Interlocked.cs
- CurrencyWrapper.cs
- DeriveBytes.cs
- SqlErrorCollection.cs
- PocoEntityKeyStrategy.cs
- TemplatedMailWebEventProvider.cs
- DiffuseMaterial.cs
- RewritingPass.cs
- DataGridViewDataErrorEventArgs.cs
- CompositeCollectionView.cs
- MemberAccessException.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- MouseWheelEventArgs.cs
- SessionPageStatePersister.cs
- StoreItemCollection.Loader.cs
- GridProviderWrapper.cs
- SqlDataSourceQueryConverter.cs
- EventDescriptor.cs
- DeadCharTextComposition.cs
- ExtensibleClassFactory.cs
- Point3DCollection.cs
- Socket.cs
- CultureInfoConverter.cs
- TraceInternal.cs
- SimpleWebHandlerParser.cs
- HttpApplication.cs
- DecoderFallback.cs
- ProfessionalColors.cs
- TablePatternIdentifiers.cs
- FontUnitConverter.cs
- SurrogateDataContract.cs
- AspNetSynchronizationContext.cs
- TimeSpanOrInfiniteConverter.cs
- Operand.cs
- Processor.cs
- EditableTreeList.cs
- TreeBuilder.cs
- TreeViewItem.cs
- RegexWriter.cs
- RSAOAEPKeyExchangeDeformatter.cs
- PartialArray.cs
- TimeoutConverter.cs
- TextRangeEdit.cs
- ButtonBaseAdapter.cs
- XNodeNavigator.cs
- InputLangChangeEvent.cs
- TextRangeAdaptor.cs
- DataSourceCache.cs
- MediaTimeline.cs
- X509ImageLogo.cs
- HtmlButton.cs
- GridViewRowEventArgs.cs
- ConnectionPoint.cs
- TextRangeEdit.cs
- EUCJPEncoding.cs
- Message.cs
- HttpValueCollection.cs
- Helper.cs
- WindowsListViewScroll.cs
- AddDataControlFieldDialog.cs
- unsafenativemethodsother.cs
- XmlTextReader.cs
- XsltOutput.cs
- DesignBinding.cs
- DynamicFilter.cs
- ParallelLoopState.cs
- View.cs
- HttpCookie.cs
- Triplet.cs
- _HTTPDateParse.cs
- ModuleBuilder.cs
- UmAlQuraCalendar.cs
- AssemblyInfo.cs
- RoleBoolean.cs
- ActiveXSite.cs
- IPAddress.cs
- DataSourceNameHandler.cs
- XPathMultyIterator.cs
- EventToken.cs
- TriggerCollection.cs
- PageContent.cs
- ServiceAuthorizationBehavior.cs
- ExpressionBindingCollection.cs
- ListItem.cs
- ErrorHandler.cs
- Compensation.cs
- WaitHandleCannotBeOpenedException.cs
- ContainerParaClient.cs
- WorkflowApplicationEventArgs.cs
- StickyNoteContentControl.cs
- SettingsPropertyValue.cs
- ClientBuildManagerCallback.cs
- MimeMapping.cs
- Paragraph.cs
- xmlsaver.cs
- RegexCompiler.cs
- EventLogTraceListener.cs
- StrongNamePublicKeyBlob.cs
- CodeDirectiveCollection.cs