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
- NetworkInformationPermission.cs
- CryptoConfig.cs
- ApplicationId.cs
- CodeDelegateInvokeExpression.cs
- EditorPartChrome.cs
- DbProviderFactory.cs
- StrokeNode.cs
- XpsResourcePolicy.cs
- DataRowView.cs
- XPathScanner.cs
- DesignTimeTemplateParser.cs
- CharEnumerator.cs
- SchemaImporterExtensionElementCollection.cs
- RewritingSimplifier.cs
- Point4D.cs
- GestureRecognitionResult.cs
- Comparer.cs
- DataConnectionHelper.cs
- TreeNodeStyleCollection.cs
- ParallelEnumerable.cs
- CodeArrayIndexerExpression.cs
- XmlSchemaObject.cs
- ListChangedEventArgs.cs
- ModuleElement.cs
- AddingNewEventArgs.cs
- DeclarationUpdate.cs
- WindowInteractionStateTracker.cs
- DataColumnMappingCollection.cs
- BulletChrome.cs
- Image.cs
- GetLastErrorDetailsRequest.cs
- ViewGenResults.cs
- EntityDataSourceValidationException.cs
- MD5HashHelper.cs
- SEHException.cs
- ApplicationActivator.cs
- DocumentGrid.cs
- PointAnimationBase.cs
- RNGCryptoServiceProvider.cs
- ContextMenuAutomationPeer.cs
- InkCanvasFeedbackAdorner.cs
- WebColorConverter.cs
- OleDbDataAdapter.cs
- SecurityProtocolCorrelationState.cs
- SynchronizedMessageSource.cs
- HttpBrowserCapabilitiesWrapper.cs
- PtsCache.cs
- Debugger.cs
- MaskedTextBoxTextEditor.cs
- HttpHandlersSection.cs
- PropertyPathWorker.cs
- SQLMembershipProvider.cs
- RemoteWebConfigurationHostServer.cs
- FillErrorEventArgs.cs
- QualifiedCellIdBoolean.cs
- TrimSurroundingWhitespaceAttribute.cs
- DelegatedStream.cs
- FormDocumentDesigner.cs
- WebPartEditorOkVerb.cs
- ListChunk.cs
- XmlNullResolver.cs
- TimestampInformation.cs
- CryptoStream.cs
- XmlDictionaryReaderQuotas.cs
- ManagementEventWatcher.cs
- DoubleLinkList.cs
- MultiSelector.cs
- SortedList.cs
- ImpersonationContext.cs
- TimeoutException.cs
- ModifierKeysValueSerializer.cs
- ObjectViewFactory.cs
- Timer.cs
- Panel.cs
- TableLayoutRowStyleCollection.cs
- PathData.cs
- EllipseGeometry.cs
- FrameworkTextComposition.cs
- DataTable.cs
- SimpleBitVector32.cs
- brushes.cs
- FontFamilyIdentifier.cs
- BitmapFrame.cs
- IPGlobalProperties.cs
- DataBoundControlAdapter.cs
- BrushValueSerializer.cs
- DependencyObjectPropertyDescriptor.cs
- FixedTextView.cs
- ChannelManager.cs
- SequenceNumber.cs
- FixedSOMLineRanges.cs
- SoapParser.cs
- CharacterMetricsDictionary.cs
- DataGridView.cs
- PenThread.cs
- DefaultPrintController.cs
- DataQuery.cs
- FontCollection.cs
- _SslStream.cs
- Track.cs