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
- DataGridItemEventArgs.cs
- InvalidPropValue.cs
- StatusBarPanel.cs
- diagnosticsswitches.cs
- Vector3DCollectionValueSerializer.cs
- Region.cs
- DictionaryBase.cs
- CharStorage.cs
- CqlParser.cs
- MTConfigUtil.cs
- ListControl.cs
- WebPartsPersonalization.cs
- CompositeScriptReferenceEventArgs.cs
- TreeNodeCollectionEditor.cs
- MouseActionValueSerializer.cs
- LinqDataSource.cs
- StorageConditionPropertyMapping.cs
- TypeValidationEventArgs.cs
- KnownTypesHelper.cs
- SqlDataSourceStatusEventArgs.cs
- PerformanceCounterManager.cs
- WebPermission.cs
- _SslSessionsCache.cs
- InternalConfigSettingsFactory.cs
- UnsafeCollabNativeMethods.cs
- DataGridPagerStyle.cs
- CodeValidator.cs
- BufferModeSettings.cs
- ActivationServices.cs
- StoryFragments.cs
- DiffuseMaterial.cs
- Operator.cs
- ResolvedKeyFrameEntry.cs
- nulltextnavigator.cs
- VisualStyleTypesAndProperties.cs
- EnumConverter.cs
- InvalidProgramException.cs
- ObjectParameter.cs
- EntityClassGenerator.cs
- StickyNote.cs
- ViewStateException.cs
- ScriptReferenceEventArgs.cs
- HashMembershipCondition.cs
- AddressingVersion.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- AutoScrollHelper.cs
- TreeViewCancelEvent.cs
- EntityDataSourceStatementEditorForm.cs
- ComponentEditorPage.cs
- PrintingPermission.cs
- Column.cs
- TextCollapsingProperties.cs
- CustomGrammar.cs
- InteropAutomationProvider.cs
- HandleRef.cs
- WSSecureConversationFeb2005.cs
- UriExt.cs
- ColumnMapVisitor.cs
- XslCompiledTransform.cs
- shaperfactoryquerycachekey.cs
- WebPartAddingEventArgs.cs
- CodeSnippetTypeMember.cs
- IPeerNeighbor.cs
- Win32Exception.cs
- Model3DGroup.cs
- WindowsHyperlink.cs
- Membership.cs
- RequestSecurityTokenResponse.cs
- precedingquery.cs
- Propagator.JoinPropagator.cs
- Interfaces.cs
- WizardStepBase.cs
- AdornedElementPlaceholder.cs
- GridViewRowPresenterBase.cs
- TypeTypeConverter.cs
- SqlPersonalizationProvider.cs
- FontStretchConverter.cs
- RequestQueryProcessor.cs
- ActivityValidator.cs
- AnimationClockResource.cs
- SvcMapFile.cs
- FigureParaClient.cs
- PageFunction.cs
- WebPartTransformerAttribute.cs
- FloatUtil.cs
- Grammar.cs
- AllMembershipCondition.cs
- LocatorGroup.cs
- FileDialog_Vista_Interop.cs
- Operators.cs
- TextLineBreak.cs
- FormViewPagerRow.cs
- RootBrowserWindow.cs
- CollectionViewSource.cs
- FixedSOMPageElement.cs
- DesignerActionKeyboardBehavior.cs
- ToolStripTextBox.cs
- XmlSchemaDocumentation.cs
- Lasso.cs
- UriSection.cs