Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------------- // //// 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
- XamlRtfConverter.cs
- SessionEndingCancelEventArgs.cs
- PopupControlService.cs
- DynamicArgumentDialog.cs
- TimeSpanMinutesConverter.cs
- XamlToRtfParser.cs
- ResourceKey.cs
- ListView.cs
- ListBindingConverter.cs
- ADMembershipUser.cs
- DateTimeOffsetAdapter.cs
- SqlDataReader.cs
- SplitterPanel.cs
- UnicastIPAddressInformationCollection.cs
- RegexWriter.cs
- AutomationElement.cs
- IItemContainerGenerator.cs
- DiscreteKeyFrames.cs
- FocusManager.cs
- ProcessModuleCollection.cs
- StyleBamlTreeBuilder.cs
- ServiceModelConfigurationElementCollection.cs
- ResolveMatchesMessageCD1.cs
- _ConnectionGroup.cs
- HttpHeaderCollection.cs
- XmlDeclaration.cs
- DataSysAttribute.cs
- QilLoop.cs
- SingleAnimationBase.cs
- DelegatingHeader.cs
- SimpleNameService.cs
- ReceiveSecurityHeader.cs
- CircleHotSpot.cs
- _SingleItemRequestCache.cs
- TransactionsSectionGroup.cs
- WindowsTreeView.cs
- DynamicQueryableWrapper.cs
- FileStream.cs
- _emptywebproxy.cs
- WindowsRichEdit.cs
- HtmlInputText.cs
- ImageCodecInfo.cs
- TextServicesCompartmentContext.cs
- UrlPropertyAttribute.cs
- FillRuleValidation.cs
- CurrencyManager.cs
- FileDialogPermission.cs
- TimeSpanSecondsConverter.cs
- InvokeGenerator.cs
- AuthenticationService.cs
- StateDesigner.Helpers.cs
- SystemColorTracker.cs
- EntityDataSourceReferenceGroup.cs
- MsmqEncryptionAlgorithm.cs
- Rectangle.cs
- DoubleCollectionConverter.cs
- CompilerScopeManager.cs
- ListViewGroupConverter.cs
- ProcessRequestArgs.cs
- HotCommands.cs
- TextControl.cs
- Brush.cs
- StringAnimationUsingKeyFrames.cs
- WorkflowViewStateService.cs
- CacheDependency.cs
- Journal.cs
- ContractTypeNameElement.cs
- CultureSpecificStringDictionary.cs
- COM2PropertyBuilderUITypeEditor.cs
- ActivationProxy.cs
- ObjectManager.cs
- Hyperlink.cs
- EventWaitHandleSecurity.cs
- DataGridViewComboBoxEditingControl.cs
- XmlSchemaInclude.cs
- XmlCharType.cs
- AnchoredBlock.cs
- HuffCodec.cs
- ModelChangedEventArgsImpl.cs
- HybridCollection.cs
- ProgressBarAutomationPeer.cs
- ApplicationFileCodeDomTreeGenerator.cs
- TaskResultSetter.cs
- IdentityNotMappedException.cs
- IdentitySection.cs
- DataFormats.cs
- LinkDescriptor.cs
- ButtonFlatAdapter.cs
- LinqDataSourceView.cs
- SecurityException.cs
- ComponentChangedEvent.cs
- TextChange.cs
- HwndKeyboardInputProvider.cs
- ValueSerializerAttribute.cs
- SqlNodeAnnotation.cs
- Operator.cs
- DataGridViewCellParsingEventArgs.cs
- CodeMethodReturnStatement.cs
- BitStack.cs
- UnknownBitmapEncoder.cs