Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Framework / System / Windows / Navigation / ReturnEventArgs.cs / 1 / 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
- DependencyPropertyDescriptor.cs
- WebBrowser.cs
- BaseComponentEditor.cs
- ClientOperation.cs
- CharacterString.cs
- ResolveResponse.cs
- NameValuePermission.cs
- GenericUI.cs
- TreeBuilderBamlTranslator.cs
- GatewayDefinition.cs
- CorrelationValidator.cs
- BulletDecorator.cs
- ByteAnimation.cs
- SystemDiagnosticsSection.cs
- DataGridColumnCollection.cs
- MessageEncodingBindingElement.cs
- XhtmlBasicLiteralTextAdapter.cs
- KeyValueSerializer.cs
- PnrpPermission.cs
- PageOutputQuality.cs
- MemberMemberBinding.cs
- TextEditorContextMenu.cs
- PartManifestEntry.cs
- EdmItemError.cs
- MissingSatelliteAssemblyException.cs
- AtomServiceDocumentSerializer.cs
- DataSourceXmlSubItemAttribute.cs
- View.cs
- UnsafeNativeMethodsPenimc.cs
- SelectionManager.cs
- CodeObject.cs
- DefaultTraceListener.cs
- DeviceSpecificChoice.cs
- KeyboardEventArgs.cs
- BuildResultCache.cs
- WsdlBuildProvider.cs
- TypeSystem.cs
- OleDbFactory.cs
- ValuePatternIdentifiers.cs
- Graphics.cs
- UIElementParaClient.cs
- UnionExpr.cs
- Point4D.cs
- DataGridPagingPage.cs
- Internal.cs
- ItemCheckedEvent.cs
- SafeFindHandle.cs
- XMLSyntaxException.cs
- DispatcherTimer.cs
- DataGridViewCellEventArgs.cs
- WebMessageFormatHelper.cs
- MultiSelector.cs
- InstalledVoice.cs
- Rules.cs
- SplitterDesigner.cs
- SqlDependencyUtils.cs
- GenerateScriptTypeAttribute.cs
- Process.cs
- AutomationElement.cs
- StrokeSerializer.cs
- ItemCheckEvent.cs
- ListenerElementsCollection.cs
- SuppressIldasmAttribute.cs
- DynamicRouteExpression.cs
- InstanceNormalEvent.cs
- ValidatedControlConverter.cs
- WindowsHyperlink.cs
- SqlBuilder.cs
- DoubleLink.cs
- XamlReaderHelper.cs
- TextRangeSerialization.cs
- ComplexTypeEmitter.cs
- WorkflowMarkupSerializerMapping.cs
- LOSFormatter.cs
- WriteFileContext.cs
- FormatterServices.cs
- MarkupObject.cs
- BamlRecords.cs
- MatchingStyle.cs
- SchemaNotation.cs
- StreamInfo.cs
- _ConnectStream.cs
- ObjectListSelectEventArgs.cs
- SurrogateChar.cs
- OdbcError.cs
- LoadedEvent.cs
- CqlErrorHelper.cs
- IncrementalHitTester.cs
- BindValidator.cs
- HttpHandlersSection.cs
- PropertyTab.cs
- Boolean.cs
- StringConcat.cs
- MetadataUtil.cs
- DataColumnChangeEvent.cs
- PerformanceCounter.cs
- AutomationPatternInfo.cs
- WebPartEditorCancelVerb.cs
- DataControlButton.cs
- ByteAnimation.cs