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
- AggregateNode.cs
- ZipFileInfo.cs
- ServerIdentity.cs
- DbProviderFactories.cs
- PcmConverter.cs
- PerfCounters.cs
- BitmapVisualManager.cs
- CqlParserHelpers.cs
- Library.cs
- InheritanceService.cs
- DesignerVerbCollection.cs
- Guid.cs
- ControlParameter.cs
- FormatVersion.cs
- NativeMethodsCLR.cs
- SharedConnectionListener.cs
- Application.cs
- PartialArray.cs
- OleDbPropertySetGuid.cs
- processwaithandle.cs
- ThreadExceptionDialog.cs
- ControlCollection.cs
- Subtree.cs
- XmlSchemaInfo.cs
- HtmlShimManager.cs
- Geometry.cs
- DataGridViewCheckBoxCell.cs
- InputReferenceExpression.cs
- ListControl.cs
- PenCursorManager.cs
- FreezableOperations.cs
- XmlByteStreamWriter.cs
- ConsoleTraceListener.cs
- MultiBinding.cs
- EpmSyndicationContentSerializer.cs
- Partitioner.cs
- SchemaTypeEmitter.cs
- ResourceDescriptionAttribute.cs
- WindowsTreeView.cs
- CompositeDuplexBindingElementImporter.cs
- DesignerLabelAdapter.cs
- FixedPosition.cs
- MessageQueueConverter.cs
- FormViewPagerRow.cs
- Validator.cs
- AudioFormatConverter.cs
- CompiledRegexRunnerFactory.cs
- Thread.cs
- WebOperationContext.cs
- UnmanagedMemoryStreamWrapper.cs
- WhereQueryOperator.cs
- ChannelSinkStacks.cs
- ScrollBarRenderer.cs
- HttpModule.cs
- DispatcherEventArgs.cs
- RegexReplacement.cs
- shaperfactory.cs
- sqlnorm.cs
- TemplateLookupAction.cs
- Mutex.cs
- WebPartsPersonalization.cs
- OperationInvokerBehavior.cs
- GlyphInfoList.cs
- HashAlgorithm.cs
- SecurityException.cs
- DocumentReference.cs
- ThrowHelper.cs
- SpecularMaterial.cs
- ToolStripMenuItemDesigner.cs
- StrongNameSignatureInformation.cs
- AstNode.cs
- ToolStripContentPanelRenderEventArgs.cs
- DataBindingList.cs
- Metafile.cs
- ToolBar.cs
- HMACSHA1.cs
- StrongNamePublicKeyBlob.cs
- PasswordRecoveryDesigner.cs
- MouseGestureConverter.cs
- DataSourceProvider.cs
- SatelliteContractVersionAttribute.cs
- Model3D.cs
- SaveFileDialog.cs
- ProcessManager.cs
- ValidationRule.cs
- CultureInfo.cs
- ListBoxItemAutomationPeer.cs
- NativeObjectSecurity.cs
- MsmqIntegrationBinding.cs
- NumberFunctions.cs
- XmlSerializationWriter.cs
- BatchWriter.cs
- DataTemplateKey.cs
- EventMappingSettings.cs
- Converter.cs
- FieldNameLookup.cs
- TaiwanLunisolarCalendar.cs
- WebEventCodes.cs
- ValueSerializer.cs
- GridErrorDlg.cs