Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / DrawingGroupDrawingContext.cs / 1 / DrawingGroupDrawingContext.cs
//---------------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // Description: DrawingGroupDrawingContext populates a DrawingGroup // from Draw commands that are called on it. // // History: // // 2004/11/19 : [....] - Created it. // //--------------------------------------------------------------------------- using System.Diagnostics; namespace System.Windows.Media { internal class DrawingGroupDrawingContext : DrawingDrawingContext { ////// DrawingGroupDrawingContext populates a DrawingGroup from the Draw /// commands that are called on it. /// /// DrawingGroup this context populates internal DrawingGroupDrawingContext(DrawingGroup drawingGroup) { Debug.Assert(null != drawingGroup); _drawingGroup = drawingGroup; } ////// Called by the base class during Close/Dispose when the content created by /// the DrawingDrawingContext needs to be committed. /// /// /// Collection containing the Drawing elements created with this /// DrawingContext. /// ////// This will only be called once (at most) per instance. /// protected override void CloseCore(DrawingCollection rootDrawingGroupChildren) { Debug.Assert(null != _drawingGroup); _drawingGroup.Close(rootDrawingGroupChildren); } private DrawingGroup _drawingGroup; } } // 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
- IDispatchConstantAttribute.cs
- RootDesignerSerializerAttribute.cs
- RegexCompiler.cs
- PageCache.cs
- SecurityPermission.cs
- ConsoleKeyInfo.cs
- TrustManagerMoreInformation.cs
- MultiSelectRootGridEntry.cs
- SegmentInfo.cs
- DataServiceRequest.cs
- DrawingImage.cs
- SafeFileMapViewHandle.cs
- OracleTimeSpan.cs
- DynamicAttribute.cs
- Popup.cs
- WebSysDisplayNameAttribute.cs
- RSACryptoServiceProvider.cs
- DynamicMethod.cs
- CollectionBase.cs
- DragEvent.cs
- ProviderSettingsCollection.cs
- NavigationFailedEventArgs.cs
- Console.cs
- TagPrefixAttribute.cs
- IndexedString.cs
- UndoEngine.cs
- EntityProviderFactory.cs
- HttpCacheVary.cs
- securitycriticaldataformultiplegetandset.cs
- SecurityException.cs
- SqlUtils.cs
- SerializationEventsCache.cs
- DelegatingConfigHost.cs
- SynchronizationScope.cs
- basecomparevalidator.cs
- XmlCollation.cs
- SimpleHandlerBuildProvider.cs
- FileSecurity.cs
- DataGridRow.cs
- SoapCommonClasses.cs
- ObjectStateEntryDbDataRecord.cs
- ResolvePPIDRequest.cs
- DefaultValueTypeConverter.cs
- XDRSchema.cs
- RotateTransform.cs
- TraceData.cs
- Bitmap.cs
- IndentTextWriter.cs
- LocalValueEnumerator.cs
- TransformConverter.cs
- DispatcherProcessingDisabled.cs
- NetCodeGroup.cs
- SpellerStatusTable.cs
- MethodAccessException.cs
- EmptyEnumerable.cs
- EventTrigger.cs
- EnumCodeDomSerializer.cs
- ErrorRuntimeConfig.cs
- Context.cs
- DesignBindingValueUIHandler.cs
- DirectoryNotFoundException.cs
- OutputCacheSettingsSection.cs
- TaskExceptionHolder.cs
- Blend.cs
- ViewBase.cs
- SplitterPanelDesigner.cs
- CircleHotSpot.cs
- TranslateTransform3D.cs
- ProcessRequestAsyncResult.cs
- BStrWrapper.cs
- TcpChannelFactory.cs
- DiscoveryClientChannelFactory.cs
- PageRequestManager.cs
- SimpleWorkerRequest.cs
- ProcessHostServerConfig.cs
- NativeMethods.cs
- SmtpReplyReader.cs
- DecoderExceptionFallback.cs
- XmlNode.cs
- SmiEventStream.cs
- ButtonFieldBase.cs
- WindowsListViewItemCheckBox.cs
- WebPartConnectionsConfigureVerb.cs
- DateTimeValueSerializerContext.cs
- Utilities.cs
- XpsFilter.cs
- NamedElement.cs
- BitVector32.cs
- CacheRequest.cs
- MenuBase.cs
- CryptoApi.cs
- ResourceProperty.cs
- AnonymousIdentificationModule.cs
- PeerNameRecord.cs
- LongTypeConverter.cs
- ReverseInheritProperty.cs
- EventProviderWriter.cs
- SchemaMerger.cs
- DataKey.cs
- ArgumentOutOfRangeException.cs