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
- MultiPropertyDescriptorGridEntry.cs
- XamlGridLengthSerializer.cs
- ValidationRule.cs
- CrossContextChannel.cs
- ServiceContractListItem.cs
- DocumentViewerBase.cs
- XsdDateTime.cs
- ProfileGroupSettings.cs
- CodeIdentifiers.cs
- WebPartConnectionsCancelVerb.cs
- FixedPageStructure.cs
- BlurBitmapEffect.cs
- MessageVersion.cs
- SessionStateContainer.cs
- ExpressionEditorAttribute.cs
- QuotedPrintableStream.cs
- AuthenticationModuleElement.cs
- TreeChangeInfo.cs
- TreeNodeConverter.cs
- MgmtConfigurationRecord.cs
- PageCatalogPartDesigner.cs
- HtmlTextBoxAdapter.cs
- EndPoint.cs
- TimelineClockCollection.cs
- SmiEventSink.cs
- PrintPreviewGraphics.cs
- SplitterEvent.cs
- WebPartCatalogCloseVerb.cs
- ButtonField.cs
- SignatureToken.cs
- NonBatchDirectoryCompiler.cs
- XPathNodeHelper.cs
- WmlCalendarAdapter.cs
- IsolatedStorageException.cs
- Rotation3DAnimationBase.cs
- SetterBaseCollection.cs
- XmlSerializerNamespaces.cs
- SQLSingle.cs
- CodeAttributeDeclaration.cs
- DataGridViewImageColumn.cs
- SQLResource.cs
- EntityStoreSchemaFilterEntry.cs
- RuntimeHelpers.cs
- RenderCapability.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- ConfigXmlAttribute.cs
- NamespaceEmitter.cs
- CrossAppDomainChannel.cs
- CallContext.cs
- MultipleViewPatternIdentifiers.cs
- WinInet.cs
- TransformProviderWrapper.cs
- PageBreakRecord.cs
- DataGridRowsPresenter.cs
- ConnectionConsumerAttribute.cs
- MULTI_QI.cs
- TraceFilter.cs
- KoreanCalendar.cs
- Events.cs
- followingquery.cs
- CodeDirectiveCollection.cs
- PropertyGridCommands.cs
- NameValueFileSectionHandler.cs
- AuthenticationModuleElementCollection.cs
- RouteParametersHelper.cs
- TextLine.cs
- EntityDataSourceWrapper.cs
- OdbcStatementHandle.cs
- ContextProperty.cs
- MetabaseServerConfig.cs
- UnknownWrapper.cs
- TargetPerspective.cs
- WebPartCatalogCloseVerb.cs
- EncryptRequest.cs
- SelectionPattern.cs
- Pen.cs
- WebRequestModuleElementCollection.cs
- SecurityElement.cs
- mediapermission.cs
- coordinatorfactory.cs
- ListBoxChrome.cs
- Location.cs
- PostBackOptions.cs
- DbConnectionHelper.cs
- StringHandle.cs
- AuthenticationModuleElementCollection.cs
- OracleConnectionString.cs
- CalculatedColumn.cs
- ModelServiceImpl.cs
- CompilerTypeWithParams.cs
- NetworkInformationPermission.cs
- SafeRightsManagementHandle.cs
- XmlNullResolver.cs
- XmlSchemaAttributeGroupRef.cs
- ExceptionHandler.cs
- AnnotationDocumentPaginator.cs
- SiteMembershipCondition.cs
- ToolStripDropDown.cs
- DiagnosticTraceSource.cs
- XmlFormatWriterGenerator.cs