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
- Base64Encoding.cs
- ConfigErrorGlyph.cs
- ControlCollection.cs
- ObfuscationAttribute.cs
- WebPartConnectionsEventArgs.cs
- ProgressBarAutomationPeer.cs
- ScriptingJsonSerializationSection.cs
- ScrollEvent.cs
- VectorCollection.cs
- HtmlLink.cs
- WithStatement.cs
- AnonymousIdentificationModule.cs
- RegexStringValidator.cs
- Attributes.cs
- FeatureSupport.cs
- LogRecordSequence.cs
- wgx_commands.cs
- AppDomainFactory.cs
- TreeNodeBindingDepthConverter.cs
- StaticSiteMapProvider.cs
- BinaryParser.cs
- FunctionDescription.cs
- Subtree.cs
- Marshal.cs
- SourceChangedEventArgs.cs
- WebSysDefaultValueAttribute.cs
- ShapingEngine.cs
- EntityDataSourceState.cs
- TextWriter.cs
- DbConnectionPoolIdentity.cs
- SHA256Managed.cs
- RequestCache.cs
- BufferBuilder.cs
- IRCollection.cs
- FtpWebRequest.cs
- CompilerState.cs
- CookieProtection.cs
- EarlyBoundInfo.cs
- PersonalizationStateInfo.cs
- XmlUTF8TextWriter.cs
- EntityContainerEntitySet.cs
- TableLayoutPanelDesigner.cs
- FastPropertyAccessor.cs
- PropertyPushdownHelper.cs
- MessageDirection.cs
- ChtmlCommandAdapter.cs
- LinkLabelLinkClickedEvent.cs
- WebServiceEnumData.cs
- ExceptionWrapper.cs
- Filter.cs
- Vector3DAnimation.cs
- TransformProviderWrapper.cs
- SemanticBasicElement.cs
- ArgumentsParser.cs
- DataContract.cs
- StrongNameMembershipCondition.cs
- EntityContainerRelationshipSetEnd.cs
- WindowsAltTab.cs
- TypeElement.cs
- Point3DAnimationUsingKeyFrames.cs
- XhtmlBasicPhoneCallAdapter.cs
- ReaderWriterLockWrapper.cs
- SmtpDigestAuthenticationModule.cs
- LookupBindingPropertiesAttribute.cs
- XmlSchema.cs
- GridViewAutomationPeer.cs
- CalendarModeChangedEventArgs.cs
- XmlEventCache.cs
- DataGridViewImageCell.cs
- XamlPathDataSerializer.cs
- FixedTextContainer.cs
- GlobalProxySelection.cs
- UInt64Storage.cs
- ArgumentNullException.cs
- EditorPartChrome.cs
- FieldMetadata.cs
- CombinedGeometry.cs
- MatrixIndependentAnimationStorage.cs
- InstanceNormalEvent.cs
- SafeNativeMemoryHandle.cs
- Serializer.cs
- ComponentRenameEvent.cs
- TextFormatterContext.cs
- AttachedPropertiesService.cs
- RoutedPropertyChangedEventArgs.cs
- ReachSerializerAsync.cs
- RequestCacheManager.cs
- MarkerProperties.cs
- BCLDebug.cs
- TraceSource.cs
- CursorConverter.cs
- DataServiceRequestException.cs
- MemberExpression.cs
- RecognitionEventArgs.cs
- FixedBufferAttribute.cs
- DocobjHost.cs
- OutputCacheModule.cs
- DocumentSequence.cs
- COSERVERINFO.cs
- Resources.Designer.cs