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
- Calendar.cs
- ToolStripHighContrastRenderer.cs
- FixedSOMPageElement.cs
- XmlSchemaValidationException.cs
- DataGridViewSortCompareEventArgs.cs
- XmlSchemaCollection.cs
- IntersectQueryOperator.cs
- MobileControlsSection.cs
- PropertyFilterAttribute.cs
- FileChangesMonitor.cs
- WebDescriptionAttribute.cs
- ZoneIdentityPermission.cs
- XmlName.cs
- LayoutEngine.cs
- ServerIdentity.cs
- DataGridCell.cs
- TriggerActionCollection.cs
- PublisherIdentityPermission.cs
- ContentElement.cs
- ErasingStroke.cs
- AsyncInvokeOperation.cs
- ListViewInsertionMark.cs
- DependencyPropertyConverter.cs
- AssemblyUtil.cs
- ProfessionalColors.cs
- Delegate.cs
- ListItemConverter.cs
- KeyedHashAlgorithm.cs
- ThrowHelper.cs
- NetworkAddressChange.cs
- HtmlImage.cs
- ObjectFullSpanRewriter.cs
- ClientData.cs
- SqlBooleanizer.cs
- ModuleConfigurationInfo.cs
- MembershipSection.cs
- WorkflowDataContext.cs
- RadioButtonRenderer.cs
- ListViewGroupConverter.cs
- PeerApplicationLaunchInfo.cs
- InternalsVisibleToAttribute.cs
- InvalidFilterCriteriaException.cs
- EdmComplexPropertyAttribute.cs
- SafeLibraryHandle.cs
- ArrayElementGridEntry.cs
- FileUpload.cs
- SimpleWebHandlerParser.cs
- ParameterRefs.cs
- ColorTransform.cs
- MdiWindowListStrip.cs
- GenericAuthenticationEventArgs.cs
- SqlComparer.cs
- Size.cs
- KeySplineConverter.cs
- BaseProcessProtocolHandler.cs
- ClassDataContract.cs
- ViewLoader.cs
- NotifyParentPropertyAttribute.cs
- InvalidStoreProtectionKeyException.cs
- GridViewCellAutomationPeer.cs
- PolicyValidator.cs
- PropertyGeneratedEventArgs.cs
- SparseMemoryStream.cs
- AlphabetConverter.cs
- EraserBehavior.cs
- LoadMessageLogger.cs
- PropertyPathConverter.cs
- WebResourceAttribute.cs
- DataGridViewComboBoxColumn.cs
- ConnectionStringSettings.cs
- IdnElement.cs
- TaskFactory.cs
- SizeFConverter.cs
- Rule.cs
- XhtmlCssHandler.cs
- SqlRetyper.cs
- ShapeTypeface.cs
- PersonalizationDictionary.cs
- OdbcPermission.cs
- ValueConversionAttribute.cs
- ZipIOLocalFileBlock.cs
- XPathNodeIterator.cs
- PointCollection.cs
- ColumnWidthChangingEvent.cs
- DocumentXPathNavigator.cs
- Int32RectConverter.cs
- AsyncDataRequest.cs
- SiblingIterators.cs
- FunctionUpdateCommand.cs
- SplitContainerDesigner.cs
- DrawingServices.cs
- XmlSchemaComplexContent.cs
- SettingsProviderCollection.cs
- NamespaceEmitter.cs
- _LazyAsyncResult.cs
- StatusBarAutomationPeer.cs
- Keyboard.cs
- precedingsibling.cs
- DescendantQuery.cs
- TableHeaderCell.cs