Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Navigation / FragmentNavigationEventArgs.cs / 1305600 / FragmentNavigationEventArgs.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // // // History: // 02/01/05: [....] Created. // //--------------------------------------------------------------------------- using System; namespace System.Windows.Navigation { ////// FragmentNavigationEventArgs exposes the fragment being navigated to /// in an event fired from NavigationService to notify a listening client /// that a navigation to fragment is about to occur. This is used for table /// of contents navigations in fixed format documents. /// public class FragmentNavigationEventArgs : EventArgs { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors internal FragmentNavigationEventArgs(string fragment, object Navigator) { _fragment = fragment; _navigator = Navigator; } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties ////// The fragment part of the URI that was passed to the Navigate() API which initiated this navigation. /// The fragment may be String.Empty to indicate a scroll to the top of the page. /// public string Fragment { get { return _fragment; } } ////// If this flag is not set by the called method then NavigationService will attempt to /// find an element with name equal to the fragment and bring it into view. /// public bool Handled { get { return _handled; } set { _handled = value; } } ////// The navigator that raised this event /// public object Navigator { get { return _navigator; } } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private string _fragment; private bool _handled; object _navigator; #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
- UmAlQuraCalendar.cs
- FixedPage.cs
- ReverseInheritProperty.cs
- StreamGeometry.cs
- WebColorConverter.cs
- SqlFunctions.cs
- ScrollChangedEventArgs.cs
- ProviderCommandInfoUtils.cs
- NumericExpr.cs
- ResolveCriteriaApril2005.cs
- Models.cs
- ItemType.cs
- ADConnectionHelper.cs
- IBuiltInEvidence.cs
- MappingSource.cs
- LogFlushAsyncResult.cs
- XmlUtf8RawTextWriter.cs
- EllipseGeometry.cs
- SQLInt64.cs
- _TimerThread.cs
- ImageCreator.cs
- SafeRsaProviderHandle.cs
- CacheVirtualItemsEvent.cs
- XmlTextWriter.cs
- RegexTree.cs
- ResumeStoryboard.cs
- TransformCryptoHandle.cs
- ScriptMethodAttribute.cs
- RegexRunnerFactory.cs
- UiaCoreTypesApi.cs
- AutomationElementIdentifiers.cs
- MultipartContentParser.cs
- PeerNameResolver.cs
- DecimalAnimation.cs
- MainMenu.cs
- TTSEngineProxy.cs
- XmlSchemaAny.cs
- MailWebEventProvider.cs
- CryptoHelper.cs
- EdmConstants.cs
- SignatureDescription.cs
- ProviderConnectionPoint.cs
- Columns.cs
- TargetInvocationException.cs
- HebrewCalendar.cs
- ping.cs
- XmlObjectSerializerContext.cs
- PromptBuilder.cs
- TableLayoutSettingsTypeConverter.cs
- basevalidator.cs
- GridEntry.cs
- RenderData.cs
- ProfileServiceManager.cs
- TreeChangeInfo.cs
- AnimationLayer.cs
- ThicknessConverter.cs
- cryptoapiTransform.cs
- XhtmlBasicPageAdapter.cs
- TextSpanModifier.cs
- TextEffect.cs
- StringInfo.cs
- ButtonField.cs
- AdornedElementPlaceholder.cs
- MarshalByRefObject.cs
- Attribute.cs
- BreakRecordTable.cs
- HtmlContainerControl.cs
- OutOfProcStateClientManager.cs
- ContentDisposition.cs
- ClientRolePrincipal.cs
- Qualifier.cs
- SessionStateModule.cs
- Timeline.cs
- HwndSourceParameters.cs
- DbConnectionFactory.cs
- EntityDataSourceUtil.cs
- ListViewItemEventArgs.cs
- DesignerValidatorAdapter.cs
- HttpClientProtocol.cs
- InkCollectionBehavior.cs
- SimpleLine.cs
- CacheVirtualItemsEvent.cs
- DataGridViewCellCancelEventArgs.cs
- TypedReference.cs
- ClassicBorderDecorator.cs
- QueryOptionExpression.cs
- DataGridViewCellMouseEventArgs.cs
- WebRequestModuleElement.cs
- ExpressionList.cs
- SmtpNetworkElement.cs
- xsdvalidator.cs
- PersonalizablePropertyEntry.cs
- SqlDataSourceCommandEventArgs.cs
- ProxyWebPartConnectionCollection.cs
- DetailsViewInsertedEventArgs.cs
- RefreshPropertiesAttribute.cs
- ObjectTag.cs
- GradientStop.cs
- PersianCalendar.cs
- InvalidEnumArgumentException.cs