Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / DrawingVisualDrawingContext.cs / 1 / DrawingVisualDrawingContext.cs
//------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2003 // // File: VisualDrawingContext.cs // // History: // [....]: 04/19/2003 // Created it based on the DrawingVisualDrawingContext used in the AvPhat branch. // [....]: 07/02/2003 // Renamed to RetainedDrawingContext, which derives from DrawingContext // [....]: 07/16/2003 // Renamed again to DrawingVisualDrawingContext, which derives from RenderDataDrawingContext // //----------------------------------------------------------------------------- using System; using System.Security.Permissions; using System.Windows; using System.Windows.Threading; using System.Windows.Media.Animation; using System.Windows.Media; using System.Windows.Media.Composition; using System.Diagnostics; using MS.Internal; namespace System.Windows.Media { ////// VisualDrawingContext - the DrawingContext for Visuals that can create it. /// internal class VisualDrawingContext : RenderDataDrawingContext { #region Constructors ////// Creates a drawing context for a DrawingVisual. /// The Visual must not be null. /// /// The Visual that created the DrawingContext, which must not be null. internal VisualDrawingContext( Visual ownerVisual ) { Debug.Assert(null != ownerVisual); _ownerVisual = ownerVisual; } #endregion Constructors #region Protected Methods ////// CloseCore - Implemented be derivees to Close the context. /// This will only be called once (if ever) per instance. /// /// The render data produced by this RenderDataDrawingContext. protected override void CloseCore(RenderData renderData) { Debug.Assert(null != _ownerVisual); _ownerVisual.RenderClose(renderData); #if DEBUG _ownerVisual = null; #endif } #endregion Protected Methods #region Private Fields private Visual _ownerVisual; #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
- WebRequestModulesSection.cs
- CommandLineParser.cs
- Encoder.cs
- TdsParser.cs
- ContentFilePart.cs
- DataGridViewColumnStateChangedEventArgs.cs
- DeferredRunTextReference.cs
- CollectionChangeEventArgs.cs
- TextFormatterImp.cs
- RoutingTable.cs
- RegexRunner.cs
- LinkAreaEditor.cs
- Ref.cs
- XmlCompatibilityReader.cs
- WebPartsPersonalizationAuthorization.cs
- DbConnectionPoolGroup.cs
- NotifyInputEventArgs.cs
- SiteMapSection.cs
- ObjectViewQueryResultData.cs
- SignatureHelper.cs
- BuiltInPermissionSets.cs
- ObjectRef.cs
- BinaryObjectInfo.cs
- XPathNavigator.cs
- StorageEntityContainerMapping.cs
- LinkClickEvent.cs
- DivideByZeroException.cs
- ReadWriteObjectLock.cs
- AggregateException.cs
- PageWrapper.cs
- ElementMarkupObject.cs
- DynamicRendererThreadManager.cs
- HttpConfigurationContext.cs
- SoundPlayer.cs
- PixelFormatConverter.cs
- LockedActivityGlyph.cs
- ColorConverter.cs
- BlockUIContainer.cs
- NameValueFileSectionHandler.cs
- ModelItemImpl.cs
- HttpModuleCollection.cs
- CompilerError.cs
- CryptographicAttribute.cs
- ActivationServices.cs
- UnescapedXmlDiagnosticData.cs
- PatternMatcher.cs
- ExtractCollection.cs
- PeerResolver.cs
- PackageRelationship.cs
- NameTable.cs
- RtfToXamlLexer.cs
- ToolStripSplitButton.cs
- ListSortDescription.cs
- DoubleAnimationUsingKeyFrames.cs
- MimeParameters.cs
- DataGridViewColumnEventArgs.cs
- MultiDataTrigger.cs
- ChangePasswordAutoFormat.cs
- GradientStopCollection.cs
- StringInfo.cs
- StaticFileHandler.cs
- RoutedUICommand.cs
- ParameterCollection.cs
- CngKeyCreationParameters.cs
- AffineTransform3D.cs
- CollectionViewGroup.cs
- WindowsTooltip.cs
- EventBookmark.cs
- DataObjectCopyingEventArgs.cs
- WindowsPrincipal.cs
- WindowsStatusBar.cs
- MobileRedirect.cs
- EmptyControlCollection.cs
- CryptoConfig.cs
- MsmqIntegrationProcessProtocolHandler.cs
- Misc.cs
- ToolStripDropDownClosedEventArgs.cs
- SelectionUIService.cs
- InvalidDataException.cs
- XmlBindingWorker.cs
- RijndaelManaged.cs
- FormatConvertedBitmap.cs
- IfAction.cs
- X509ChainElement.cs
- PriorityItem.cs
- SafeCryptContextHandle.cs
- CounterSample.cs
- WrappedIUnknown.cs
- Regex.cs
- Dictionary.cs
- ConditionCollection.cs
- GeneralTransform3DTo2DTo3D.cs
- FixedTextPointer.cs
- WorkflowQueuingService.cs
- LayoutManager.cs
- Activity.cs
- MethodRental.cs
- XsltOutput.cs
- DataRecordInternal.cs
- OciHandle.cs