Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / System / Windows / Media / Effects / BitmapEffectDrawingContent.cs / 1 / BitmapEffectDrawingContent.cs
//---------------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // Description: BitmapEffectDrawingContent is used by DrawingGroup to // hold the information for the scheduled realization updates // // //--------------------------------------------------------------------------- using System; using System.Windows.Threading; using MS.Win32; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using System.Windows.Media.Effects; using System.Collections; using System.Collections.Generic; using MS.Internal; using MS.Internal.Media; using System.Resources; using MS.Utility; namespace System.Windows.Media.Effects { ////// This class is used to realize the content of the /// drawing group if a bitmap effect is applied to it /// internal class BitmapEffectDrawingContent : IRealizationContextClient { DrawingGroup _group; DUCE.Channel _channel; public BitmapEffectDrawingContent(DrawingGroup g, RealizationContext ctx) { _channel = ctx.Channel; _group = g; } public void ExecuteRealizationsUpdate() { _group.RenderBitmapEffect(_channel); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // Description: BitmapEffectDrawingContent is used by DrawingGroup to // hold the information for the scheduled realization updates // // //--------------------------------------------------------------------------- using System; using System.Windows.Threading; using MS.Win32; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using System.Windows.Media.Effects; using System.Collections; using System.Collections.Generic; using MS.Internal; using MS.Internal.Media; using System.Resources; using MS.Utility; namespace System.Windows.Media.Effects { ////// This class is used to realize the content of the /// drawing group if a bitmap effect is applied to it /// internal class BitmapEffectDrawingContent : IRealizationContextClient { DrawingGroup _group; DUCE.Channel _channel; public BitmapEffectDrawingContent(DrawingGroup g, RealizationContext ctx) { _channel = ctx.Channel; _group = g; } public void ExecuteRealizationsUpdate() { _group.RenderBitmapEffect(_channel); } } } // 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
- ResourceLoader.cs
- DbParameterCollectionHelper.cs
- SingleResultAttribute.cs
- ConstraintEnumerator.cs
- MultipleViewProviderWrapper.cs
- WebBrowserHelper.cs
- Baml2006SchemaContext.cs
- TypeConverterAttribute.cs
- SmtpCommands.cs
- ListChangedEventArgs.cs
- iisPickupDirectory.cs
- ProjectionCamera.cs
- ConfigurationValue.cs
- ExecutedRoutedEventArgs.cs
- NativeRightsManagementAPIsStructures.cs
- ObjectDataSourceStatusEventArgs.cs
- HttpRequest.cs
- NameValuePair.cs
- DropDownButton.cs
- TableRowCollection.cs
- OptimalBreakSession.cs
- TCPListener.cs
- _FixedSizeReader.cs
- ServerIdentity.cs
- dataobject.cs
- CngKey.cs
- StubHelpers.cs
- RepeatButton.cs
- TemplateColumn.cs
- DataRelationPropertyDescriptor.cs
- KeyTimeConverter.cs
- BinaryParser.cs
- GridSplitterAutomationPeer.cs
- HttpRuntime.cs
- StorageInfo.cs
- RegexCompiler.cs
- DynamicResourceExtension.cs
- StateFinalizationActivity.cs
- NamespaceCollection.cs
- BigInt.cs
- WorkflowRequestContext.cs
- SqlMethodAttribute.cs
- SupportsEventValidationAttribute.cs
- LZCodec.cs
- SchemaElement.cs
- Facet.cs
- SoapAttributeOverrides.cs
- IntranetCredentialPolicy.cs
- WebServiceHost.cs
- DrawingContextWalker.cs
- EntityDataSourceChangedEventArgs.cs
- DataGridViewSelectedRowCollection.cs
- followingquery.cs
- ContourSegment.cs
- WpfKnownTypeInvoker.cs
- UnmanagedBitmapWrapper.cs
- SByte.cs
- OrderedDictionary.cs
- UxThemeWrapper.cs
- HexParser.cs
- QueryOptionExpression.cs
- ExportException.cs
- QueryGenerator.cs
- RuntimeTrackingProfile.cs
- FocusChangedEventArgs.cs
- UTF8Encoding.cs
- GridViewUpdatedEventArgs.cs
- UdpChannelListener.cs
- ValueConversionAttribute.cs
- ZoneLinkButton.cs
- CollectionViewGroup.cs
- MetadataCollection.cs
- ColumnHeader.cs
- SelfIssuedAuthAsymmetricKey.cs
- BindingExpressionUncommonField.cs
- Membership.cs
- ClassValidator.cs
- Color.cs
- Number.cs
- ComponentRenameEvent.cs
- BezierSegment.cs
- BooleanAnimationBase.cs
- HandlerWithFactory.cs
- DefaultValueTypeConverter.cs
- ThreadInterruptedException.cs
- FileSystemInfo.cs
- XpsDocumentEvent.cs
- WeakReference.cs
- TextViewBase.cs
- ThicknessAnimationUsingKeyFrames.cs
- ClassHandlersStore.cs
- ProcessThread.cs
- XmlTextWriter.cs
- ToolBarButton.cs
- PartialCachingAttribute.cs
- StretchValidation.cs
- ToolBar.cs
- ColorConvertedBitmap.cs
- SEHException.cs
- HostnameComparisonMode.cs