Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------------- // //// 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
- HandleCollector.cs
- TraceContext.cs
- ByteKeyFrameCollection.cs
- Memoizer.cs
- OleStrCAMarshaler.cs
- TemplateBindingExtension.cs
- LinkTarget.cs
- DbParameterCollection.cs
- TypeListConverter.cs
- SrgsGrammarCompiler.cs
- UrlPath.cs
- NavigationPropertyEmitter.cs
- FloaterBaseParaClient.cs
- ApplicationDirectoryMembershipCondition.cs
- AsymmetricKeyExchangeFormatter.cs
- CorrelationTokenTypeConvertor.cs
- NamespaceImport.cs
- BaseValidatorDesigner.cs
- _SSPISessionCache.cs
- PageContentAsyncResult.cs
- SafeNativeMethodsMilCoreApi.cs
- TemplatePagerField.cs
- DrawingImage.cs
- RawStylusInput.cs
- EUCJPEncoding.cs
- TableRow.cs
- TextEncodedRawTextWriter.cs
- D3DImage.cs
- DataGridPageChangedEventArgs.cs
- NavigationProperty.cs
- AssociationTypeEmitter.cs
- ObjectCacheSettings.cs
- ConfigXmlWhitespace.cs
- SecurityKeyType.cs
- Point.cs
- MemoryPressure.cs
- ExclusiveCanonicalizationTransform.cs
- ToolStripPanel.cs
- ByteKeyFrameCollection.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ToolStripButton.cs
- WebPartCatalogCloseVerb.cs
- DCSafeHandle.cs
- DescendantBaseQuery.cs
- ScriptReferenceBase.cs
- AccessDataSourceWizardForm.cs
- ExcCanonicalXml.cs
- CommandBindingCollection.cs
- ImageListDesigner.cs
- HostDesigntimeLicenseContext.cs
- DataObjectCopyingEventArgs.cs
- Math.cs
- CreateSequence.cs
- mil_commands.cs
- SecurityException.cs
- PerformanceCounterCategory.cs
- UIHelper.cs
- FrameDimension.cs
- Dictionary.cs
- TextRangeProviderWrapper.cs
- SwitchElementsCollection.cs
- RemotingException.cs
- CodeArrayCreateExpression.cs
- Focus.cs
- LineServicesRun.cs
- FormatControl.cs
- WindowsPrincipal.cs
- OleServicesContext.cs
- NativeMethods.cs
- Stackframe.cs
- AppSettingsExpressionBuilder.cs
- ContextDataSource.cs
- HtmlContainerControl.cs
- FormView.cs
- UTF32Encoding.cs
- ServiceDebugElement.cs
- ResourceType.cs
- Pens.cs
- Emitter.cs
- FontStyle.cs
- AuthenticationException.cs
- WebServiceClientProxyGenerator.cs
- ConnectionManagementElementCollection.cs
- FreezableOperations.cs
- BaseDataBoundControl.cs
- SqlConnectionFactory.cs
- OperationBehaviorAttribute.cs
- Publisher.cs
- RequestResizeEvent.cs
- TimeoutException.cs
- TCEAdapterGenerator.cs
- DateTimeValueSerializer.cs
- WpfSharedXamlSchemaContext.cs
- InfoCardClaim.cs
- Light.cs
- TextParaLineResult.cs
- UnsafeNativeMethods.cs
- DesignerOptionService.cs
- EarlyBoundInfo.cs
- DataGridViewCellStyleChangedEventArgs.cs