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
- EnvelopedSignatureTransform.cs
- MouseCaptureWithinProperty.cs
- EntitySet.cs
- SystemColorTracker.cs
- XmlSchemaAttributeGroupRef.cs
- basevalidator.cs
- TypeGeneratedEventArgs.cs
- AliasGenerator.cs
- WebEventCodes.cs
- CFGGrammar.cs
- GetImportedCardRequest.cs
- TraceContext.cs
- WindowAutomationPeer.cs
- ExtendLockCommand.cs
- TypeSystemProvider.cs
- IntegrationExceptionEventArgs.cs
- MetadataImporter.cs
- SupportsEventValidationAttribute.cs
- userdatakeys.cs
- TaskResultSetter.cs
- ComponentDispatcherThread.cs
- HtmlInputImage.cs
- ExpandSegment.cs
- HandleCollector.cs
- RtfToken.cs
- HtmlButton.cs
- ClientCultureInfo.cs
- Matrix3D.cs
- EncryptedPackage.cs
- ChtmlLinkAdapter.cs
- DataViewSettingCollection.cs
- RemoteHelper.cs
- NegotiationTokenAuthenticator.cs
- DBProviderConfigurationHandler.cs
- Storyboard.cs
- TextRunTypographyProperties.cs
- EmbeddedObject.cs
- Transform.cs
- DropShadowBitmapEffect.cs
- WebConvert.cs
- ControlCollection.cs
- XmlArrayAttribute.cs
- EmptyStringExpandableObjectConverter.cs
- PropertyGroupDescription.cs
- TokenBasedSetEnumerator.cs
- ListViewPagedDataSource.cs
- CommonDialog.cs
- Message.cs
- TextBoxAutoCompleteSourceConverter.cs
- EditingCommands.cs
- WindowsTooltip.cs
- TextStore.cs
- UIntPtr.cs
- NotEqual.cs
- ChildDocumentBlock.cs
- TcpHostedTransportConfiguration.cs
- CursorConverter.cs
- AnnotationHighlightLayer.cs
- QueryCacheKey.cs
- ADMembershipProvider.cs
- SendMessageContent.cs
- TypeSystem.cs
- ItemCollectionEditor.cs
- RelatedEnd.cs
- HttpWebRequest.cs
- ScrollBar.cs
- SmtpDigestAuthenticationModule.cs
- DrawingAttributes.cs
- Int16AnimationBase.cs
- WorkflowDesignerColors.cs
- ScriptDescriptor.cs
- LinqDataSourceStatusEventArgs.cs
- CheckableControlBaseAdapter.cs
- PkcsUtils.cs
- ProgressBarBrushConverter.cs
- RuleSettings.cs
- View.cs
- X509CertificateCollection.cs
- ConfigurationHandlersInstallComponent.cs
- DetailsViewRow.cs
- PointCollection.cs
- WorkflowApplicationCompletedEventArgs.cs
- ErrorRuntimeConfig.cs
- HttpClientCertificate.cs
- DataGridViewElement.cs
- GroupQuery.cs
- PanelContainerDesigner.cs
- DataControlLinkButton.cs
- PriorityChain.cs
- unsafeIndexingFilterStream.cs
- ProviderConnectionPointCollection.cs
- SchemaType.cs
- Listbox.cs
- Line.cs
- CollectionsUtil.cs
- AutoResetEvent.cs
- ReachDocumentPageSerializerAsync.cs
- TypographyProperties.cs
- ManagementScope.cs
- TimeoutValidationAttribute.cs