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
- SqlUDTStorage.cs
- ToggleButton.cs
- TextProviderWrapper.cs
- CollectionChangeEventArgs.cs
- BuilderPropertyEntry.cs
- CreateUserWizardStep.cs
- FacetValueContainer.cs
- DisposableCollectionWrapper.cs
- PictureBox.cs
- FactoryGenerator.cs
- ArraySortHelper.cs
- XmlWhitespace.cs
- FixedSOMElement.cs
- ArcSegment.cs
- PropertyInformationCollection.cs
- ValidatorUtils.cs
- ObjectDataSourceFilteringEventArgs.cs
- _NegoStream.cs
- XmlSchemaResource.cs
- DbConnectionPoolCounters.cs
- DataObjectPastingEventArgs.cs
- DefaultHttpHandler.cs
- PerformanceCounterPermissionEntry.cs
- EntityRecordInfo.cs
- COM2ColorConverter.cs
- GrammarBuilderBase.cs
- CancellationTokenRegistration.cs
- FormatVersion.cs
- ZoneLinkButton.cs
- PointConverter.cs
- ExpressionList.cs
- PeerUnsafeNativeMethods.cs
- UIAgentAsyncEndRequest.cs
- LinearGradientBrush.cs
- ItemMap.cs
- RootProfilePropertySettingsCollection.cs
- TypeBrowserDialog.cs
- XmlComment.cs
- RegexFCD.cs
- HtmlInputControl.cs
- OptimizedTemplateContentHelper.cs
- ScriptRegistrationManager.cs
- ButtonField.cs
- IOThreadScheduler.cs
- TextTreeTextBlock.cs
- ConnectionConsumerAttribute.cs
- DataGridViewRowsRemovedEventArgs.cs
- ColorConverter.cs
- HierarchicalDataBoundControl.cs
- DifferencingCollection.cs
- RenderCapability.cs
- WindowsListViewItem.cs
- FaultHandlingFilter.cs
- _HelperAsyncResults.cs
- DesignerHelpers.cs
- LinkedList.cs
- ValidationResult.cs
- ResourceAttributes.cs
- UnauthorizedWebPart.cs
- ControlCachePolicy.cs
- SmtpException.cs
- COAUTHINFO.cs
- ProxyFragment.cs
- CompiledXpathExpr.cs
- StrokeNodeOperations2.cs
- ComponentResourceKeyConverter.cs
- DataGridViewCellStyleConverter.cs
- _ScatterGatherBuffers.cs
- FrameworkPropertyMetadata.cs
- SortKey.cs
- DataGridViewRowConverter.cs
- AllMembershipCondition.cs
- BuildProvider.cs
- HttpHostedTransportConfiguration.cs
- ConfigurationHandlersInstallComponent.cs
- HelpKeywordAttribute.cs
- DetailsViewRowCollection.cs
- CompilerState.cs
- SplitterPanel.cs
- FormCollection.cs
- ColorAnimationBase.cs
- NameValueSectionHandler.cs
- LineServicesRun.cs
- DataGridViewRowCollection.cs
- RecognizerStateChangedEventArgs.cs
- AbandonedMutexException.cs
- ExpressionsCollectionConverter.cs
- CatchDesigner.xaml.cs
- Rect3DValueSerializer.cs
- CheckBoxFlatAdapter.cs
- AdornerDecorator.cs
- MenuItemCollection.cs
- ProfilePropertyNameValidator.cs
- XmlSchemaChoice.cs
- ReadOnlyMetadataCollection.cs
- ACE.cs
- HandleRef.cs
- Lasso.cs
- TextFragmentEngine.cs
- UserMapPath.cs