Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / DrawingGroupDrawingContext.cs / 1305600 / 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 : timothyc - 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebCategoryAttribute.cs
- RemotingServices.cs
- DataGridBoolColumn.cs
- ExpressionConverter.cs
- VariableQuery.cs
- AffineTransform3D.cs
- DiscoveryClientDocuments.cs
- PauseStoryboard.cs
- ItemsChangedEventArgs.cs
- SoapEnumAttribute.cs
- XmlBinaryReaderSession.cs
- IndexerNameAttribute.cs
- SwitchLevelAttribute.cs
- IImplicitResourceProvider.cs
- RuntimeEnvironment.cs
- WebPartConnection.cs
- MsmqChannelListenerBase.cs
- SQLResource.cs
- DoubleAnimationClockResource.cs
- ColorTransformHelper.cs
- TextBoxBase.cs
- DataPointer.cs
- BeginEvent.cs
- sqlcontext.cs
- TrustManager.cs
- ChangeInterceptorAttribute.cs
- EventMappingSettingsCollection.cs
- ExtendedProperty.cs
- Thread.cs
- AssociationTypeEmitter.cs
- CookielessHelper.cs
- DataProtection.cs
- FixedSchema.cs
- StorageEndPropertyMapping.cs
- MaskedTextBox.cs
- ImageClickEventArgs.cs
- LineMetrics.cs
- UshortList2.cs
- AutomationPropertyInfo.cs
- DesignerView.cs
- coordinatorfactory.cs
- UnsafeMethods.cs
- DbProviderFactory.cs
- MasterPage.cs
- SoapSchemaExporter.cs
- DrawingImage.cs
- Module.cs
- EntityDataSourceWrapperCollection.cs
- SafeTimerHandle.cs
- GifBitmapEncoder.cs
- HttpListenerPrefixCollection.cs
- SignatureHelper.cs
- AtomParser.cs
- CompositeActivityTypeDescriptor.cs
- DtrList.cs
- Codec.cs
- ApplicationFileParser.cs
- TypeToken.cs
- XslAst.cs
- CacheForPrimitiveTypes.cs
- TransactionManager.cs
- FileSystemEventArgs.cs
- ProviderIncompatibleException.cs
- BamlCollectionHolder.cs
- DesignerAdapterAttribute.cs
- EmptyEnumerator.cs
- TypeDelegator.cs
- BamlRecordHelper.cs
- ByeOperationAsyncResult.cs
- DataSetMappper.cs
- HttpCacheParams.cs
- BaseUriHelper.cs
- DocumentReferenceCollection.cs
- SoapHeaderAttribute.cs
- HttpCookie.cs
- SimplePropertyEntry.cs
- SpotLight.cs
- ModuleBuilderData.cs
- _DomainName.cs
- ValueConversionAttribute.cs
- GetWinFXPath.cs
- ExpressionStringBuilder.cs
- Profiler.cs
- Claim.cs
- DataDocumentXPathNavigator.cs
- ControlPaint.cs
- SubstitutionDesigner.cs
- ServicesUtilities.cs
- SystemTcpStatistics.cs
- FlowLayout.cs
- ChtmlTextBoxAdapter.cs
- ContextQuery.cs
- HttpHandlersSection.cs
- TypeLibraryHelper.cs
- TemplateKey.cs
- ReachPageContentCollectionSerializer.cs
- OperationPickerDialog.cs
- TreeNode.cs
- SqlDataSourceSelectingEventArgs.cs
- UriTemplate.cs