Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / System / Windows / Media / DrawingContextWalker.cs / 1 / DrawingContextWalker.cs
//---------------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // Description: Contains base class for DrawingContext iterators // // History: // // 2004/04/02 : adsmith - Created it. // 2005/06/20 : timothyc - Moved to codegen // //--------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Security.Permissions; using System.Windows.Threading; using System.Windows; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Imaging; using System.Windows.Media.Media3D; using MS.Internal; namespace System.Windows.Media { ////// DrawingContextWalker : The base class for DrawingContext iterators. /// This is *not* thread safe /// internal abstract partial class DrawingContextWalker : DrawingContext { ////// Constructor for DrawingContextWalker /// protected DrawingContextWalker() { // Nothing to do here } ////// DrawingContextWalker implementations are never opened, so they shouldn't be closed. /// public override sealed void Close() { Debug.Assert(false); } #region Protected methods ////// DrawingContextWalker implementations are never opened, so they shouldn't be disposed. /// protected override void DisposeCore() { Debug.Assert(false); } ////// StopWalking - If this called, the current walk will stop. /// protected void StopWalking() { _stopWalking = true; } #endregion Protected methods #region Internal properties ////// ShouldStopWalking Property - internal clients can consult this property to determine /// whether or not the implementer of this DrawingContextWalker has called StopWalking. /// This can also be set by internal callers. /// internal bool ShouldStopWalking { get { return _stopWalking; } set { _stopWalking = value; } } #endregion Internal properties #region Private Members private bool _stopWalking; #endregion Private Members } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // Description: Contains base class for DrawingContext iterators // // History: // // 2004/04/02 : adsmith - Created it. // 2005/06/20 : timothyc - Moved to codegen // //--------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Security.Permissions; using System.Windows.Threading; using System.Windows; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Imaging; using System.Windows.Media.Media3D; using MS.Internal; namespace System.Windows.Media { ////// DrawingContextWalker : The base class for DrawingContext iterators. /// This is *not* thread safe /// internal abstract partial class DrawingContextWalker : DrawingContext { ////// Constructor for DrawingContextWalker /// protected DrawingContextWalker() { // Nothing to do here } ////// DrawingContextWalker implementations are never opened, so they shouldn't be closed. /// public override sealed void Close() { Debug.Assert(false); } #region Protected methods ////// DrawingContextWalker implementations are never opened, so they shouldn't be disposed. /// protected override void DisposeCore() { Debug.Assert(false); } ////// StopWalking - If this called, the current walk will stop. /// protected void StopWalking() { _stopWalking = true; } #endregion Protected methods #region Internal properties ////// ShouldStopWalking Property - internal clients can consult this property to determine /// whether or not the implementer of this DrawingContextWalker has called StopWalking. /// This can also be set by internal callers. /// internal bool ShouldStopWalking { get { return _stopWalking; } set { _stopWalking = value; } } #endregion Internal properties #region Private Members private bool _stopWalking; #endregion Private Members } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BaseCollection.cs
- StateBag.cs
- QuotedPrintableStream.cs
- Closure.cs
- AttributeCollection.cs
- _NtlmClient.cs
- BufferModeSettings.cs
- ToolStripPanelCell.cs
- StylusButtonEventArgs.cs
- SafeHandle.cs
- ButtonField.cs
- TranslateTransform.cs
- Imaging.cs
- BufferedOutputStream.cs
- MultiBinding.cs
- SByte.cs
- SymmetricKeyWrap.cs
- DataControlFieldCell.cs
- ApplicationDirectory.cs
- Calendar.cs
- TransformedBitmap.cs
- WebPartDesigner.cs
- LookupNode.cs
- UICuesEvent.cs
- Int64Animation.cs
- DeferredSelectedIndexReference.cs
- Pointer.cs
- FixedTextBuilder.cs
- XmlNodeReader.cs
- UnsafeNativeMethods.cs
- GraphicsPath.cs
- PrintDialog.cs
- CrossSiteScriptingValidation.cs
- InternalTransaction.cs
- RichTextBox.cs
- XamlHostingSection.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- DrawingState.cs
- GlobalAllocSafeHandle.cs
- List.cs
- TransformerTypeCollection.cs
- ReadOnlyDictionary.cs
- DataPager.cs
- TextClipboardData.cs
- oledbmetadatacolumnnames.cs
- PrimitiveType.cs
- DbgCompiler.cs
- Polyline.cs
- Calendar.cs
- XmlSerializationReader.cs
- EntityContainerAssociationSetEnd.cs
- UserNameSecurityTokenAuthenticator.cs
- TemplateControlParser.cs
- DashStyles.cs
- DataReceivedEventArgs.cs
- BindingCompleteEventArgs.cs
- DrawingContextDrawingContextWalker.cs
- LayoutEngine.cs
- GenericUriParser.cs
- HostedElements.cs
- DoubleCollection.cs
- MouseWheelEventArgs.cs
- ScrollItemPattern.cs
- EntityWrapperFactory.cs
- ListItemCollection.cs
- PropertyManager.cs
- XslException.cs
- ToolStrip.cs
- LostFocusEventManager.cs
- ProxyHwnd.cs
- MessageTransmitTraceRecord.cs
- IdentityManager.cs
- SQLBoolean.cs
- CollectionDataContractAttribute.cs
- DefaultProxySection.cs
- MarshalDirectiveException.cs
- SmiConnection.cs
- WebBrowser.cs
- TableLayoutSettingsTypeConverter.cs
- ReaderWriterLockWrapper.cs
- DataSourceXmlElementAttribute.cs
- StaticContext.cs
- XmlValueConverter.cs
- ConsumerConnectionPointCollection.cs
- TextEditorSelection.cs
- ThreadStateException.cs
- ScriptComponentDescriptor.cs
- BulletedListEventArgs.cs
- TypeConstant.cs
- ContentType.cs
- CommandLibraryHelper.cs
- PerformanceCounterPermission.cs
- OptionUsage.cs
- WindowsListViewItem.cs
- WebConfigurationFileMap.cs
- TimeIntervalCollection.cs
- LinqDataSourceSelectEventArgs.cs
- ComplexLine.cs
- WebBaseEventKeyComparer.cs
- Root.cs