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
- NetPeerTcpBinding.cs
- IssuanceLicense.cs
- BinaryObjectWriter.cs
- FixedSOMPageConstructor.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- NameService.cs
- DataRecordInternal.cs
- SpellerHighlightLayer.cs
- SiteMapPath.cs
- DbDeleteCommandTree.cs
- SslStreamSecurityBindingElement.cs
- DispatcherFrame.cs
- SQLBytesStorage.cs
- SafeHandles.cs
- DataObjectPastingEventArgs.cs
- CapabilitiesSection.cs
- MimeMultiPart.cs
- CachedFontFamily.cs
- RuleRef.cs
- WinFormsSpinner.cs
- BaseTemplateParser.cs
- WorkerRequest.cs
- DataGridViewButtonColumn.cs
- Latin1Encoding.cs
- VideoDrawing.cs
- HtmlWindow.cs
- TrustManagerPromptUI.cs
- BaseCollection.cs
- ChtmlTextWriter.cs
- RawMouseInputReport.cs
- GenericsInstances.cs
- RequiredFieldValidator.cs
- Int16Storage.cs
- TextMarkerSource.cs
- _NestedSingleAsyncResult.cs
- AssociationSetEnd.cs
- Oid.cs
- ExpandedProjectionNode.cs
- LocatorGroup.cs
- Attributes.cs
- LicenseContext.cs
- DnsElement.cs
- ProtocolsConfiguration.cs
- Automation.cs
- StateRuntime.cs
- ToolStripScrollButton.cs
- DBSchemaTable.cs
- DeclarativeCatalogPart.cs
- DataTableNameHandler.cs
- compensatingcollection.cs
- _LoggingObject.cs
- OleDbDataReader.cs
- ResourceDescriptionAttribute.cs
- StateWorkerRequest.cs
- CompositeControl.cs
- TypeRefElement.cs
- ThreadNeutralSemaphore.cs
- ContextMenuService.cs
- AppLevelCompilationSectionCache.cs
- AsyncResult.cs
- ReflectionHelper.cs
- ObjectViewEntityCollectionData.cs
- WmlPhoneCallAdapter.cs
- ProfilePropertySettingsCollection.cs
- AlignmentXValidation.cs
- TableLayout.cs
- Evaluator.cs
- RegexNode.cs
- Section.cs
- LinkLabel.cs
- XmlSerializationGeneratedCode.cs
- KnownTypesProvider.cs
- FileClassifier.cs
- BinaryObjectInfo.cs
- ListGeneralPage.cs
- DataGridViewCellStyleConverter.cs
- XmlArrayAttribute.cs
- MatrixCamera.cs
- StringReader.cs
- XPathEmptyIterator.cs
- DataSourceControlBuilder.cs
- ObjectStateManager.cs
- PresentationTraceSources.cs
- XmlNotation.cs
- ChannelManagerHelpers.cs
- Int16Converter.cs
- CachedCompositeFamily.cs
- _NegotiateClient.cs
- TableProviderWrapper.cs
- InterleavedZipPartStream.cs
- VirtualPathUtility.cs
- WebPartCatalogCloseVerb.cs
- tibetanshape.cs
- FilteredDataSetHelper.cs
- ParserStreamGeometryContext.cs
- Soap12ProtocolReflector.cs
- ScaleTransform3D.cs
- Msec.cs
- Clock.cs
- XmlILTrace.cs