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
- Cursor.cs
- SafePEFileHandle.cs
- ObjectStateEntry.cs
- MetabaseServerConfig.cs
- MergeFailedEvent.cs
- SctClaimDictionary.cs
- EllipseGeometry.cs
- PrePrepareMethodAttribute.cs
- xmlsaver.cs
- Grant.cs
- HtmlInputRadioButton.cs
- loginstatus.cs
- FixedBufferAttribute.cs
- ExceptionHelpers.cs
- InplaceBitmapMetadataWriter.cs
- WebCategoryAttribute.cs
- DataGridCommandEventArgs.cs
- ContentDisposition.cs
- StateValidator.cs
- EmptyQuery.cs
- DataGridViewCellPaintingEventArgs.cs
- DataGridViewColumn.cs
- ChannelServices.cs
- GeneralTransform.cs
- TimeSpanFormat.cs
- Html32TextWriter.cs
- SqlMethodTransformer.cs
- RelationshipEndCollection.cs
- MappedMetaModel.cs
- BookmarkList.cs
- XmlSchemaDatatype.cs
- TargetException.cs
- XmlNamespaceManager.cs
- Transaction.cs
- SubclassTypeValidator.cs
- BitArray.cs
- TreeNodeStyleCollection.cs
- Preprocessor.cs
- ColorDialog.cs
- KoreanCalendar.cs
- UnknownWrapper.cs
- SafeRightsManagementPubHandle.cs
- TreeWalker.cs
- EffectiveValueEntry.cs
- SHA512Managed.cs
- SizeConverter.cs
- ManagementInstaller.cs
- ExitEventArgs.cs
- hwndwrapper.cs
- XpsDigitalSignature.cs
- TdsRecordBufferSetter.cs
- CustomPopupPlacement.cs
- HttpBrowserCapabilitiesWrapper.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- EventSourceCreationData.cs
- WindowsRichEditRange.cs
- FrameworkName.cs
- XmlTextReaderImplHelpers.cs
- Helpers.cs
- _UriSyntax.cs
- HttpRequest.cs
- FileDialogPermission.cs
- PropertyMapper.cs
- RSACryptoServiceProvider.cs
- _Events.cs
- SchemaConstraints.cs
- UndirectedGraph.cs
- ReadWriteSpinLock.cs
- ClientBase.cs
- PermissionListSet.cs
- DesignerActionUI.cs
- JoinTreeNode.cs
- messageonlyhwndwrapper.cs
- WorkflowOperationFault.cs
- TextBox.cs
- PageSetupDialog.cs
- Task.cs
- DefaultEvaluationContext.cs
- ThaiBuddhistCalendar.cs
- BitmapEffectCollection.cs
- SetterBaseCollection.cs
- XmlNavigatorStack.cs
- SqlNotificationRequest.cs
- QilInvokeEarlyBound.cs
- ChannelSinkStacks.cs
- StickyNoteHelper.cs
- TextContainerHelper.cs
- NetPipeSection.cs
- ExternalCalls.cs
- CodeArgumentReferenceExpression.cs
- PassportAuthentication.cs
- QueryContinueDragEvent.cs
- ServiceBusyException.cs
- DisableDpiAwarenessAttribute.cs
- TextSerializer.cs
- HeaderedItemsControl.cs
- NullRuntimeConfig.cs
- DynamicEntity.cs
- HandlerWithFactory.cs
- ContextMenu.cs