Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- MembershipValidatePasswordEventArgs.cs
- PropertyNames.cs
- Vector3DCollection.cs
- ClientTargetCollection.cs
- ValueUtilsSmi.cs
- QueueException.cs
- Size3D.cs
- ParseHttpDate.cs
- MutableAssemblyCacheEntry.cs
- WebBrowserPermission.cs
- Popup.cs
- StylusPointProperties.cs
- PerfCounters.cs
- bindurihelper.cs
- ISAPIWorkerRequest.cs
- XmlConvert.cs
- PageCodeDomTreeGenerator.cs
- ListViewGroup.cs
- StrongNameIdentityPermission.cs
- InfoCardAsymmetricCrypto.cs
- LinqDataSourceStatusEventArgs.cs
- ClientEventManager.cs
- Blend.cs
- XmlSchemaException.cs
- XmlLanguage.cs
- DbProviderSpecificTypePropertyAttribute.cs
- SHA1.cs
- CqlQuery.cs
- InstallHelper.cs
- Site.cs
- ProcessProtocolHandler.cs
- SQLStringStorage.cs
- DocumentReferenceCollection.cs
- DetailsViewInsertEventArgs.cs
- SqlDataSourceConfigureFilterForm.cs
- SecureConversationServiceCredential.cs
- XhtmlBasicControlAdapter.cs
- BindingContext.cs
- FontStretches.cs
- WindowsFormsHostAutomationPeer.cs
- handlecollector.cs
- ObjectAssociationEndMapping.cs
- _TransmitFileOverlappedAsyncResult.cs
- SymmetricKeyWrap.cs
- NumericUpDownAcceleration.cs
- TagNameToTypeMapper.cs
- PenLineJoinValidation.cs
- XmlDataSourceNodeDescriptor.cs
- SecurityTokenTypes.cs
- EasingFunctionBase.cs
- SharedPersonalizationStateInfo.cs
- LocalizedNameDescriptionPair.cs
- DataListItemCollection.cs
- MultilineStringConverter.cs
- ScrollChangedEventArgs.cs
- Models.cs
- MediaTimeline.cs
- GroupBox.cs
- EditorServiceContext.cs
- WebPartVerbsEventArgs.cs
- IndependentAnimationStorage.cs
- ToolStripDesignerUtils.cs
- ConfigurationException.cs
- PolicyStatement.cs
- OuterGlowBitmapEffect.cs
- DataGridAutoFormat.cs
- OptimisticConcurrencyException.cs
- ComponentSerializationService.cs
- ExecutionScope.cs
- ControlCommandSet.cs
- SecurityTokenParametersEnumerable.cs
- SpecialFolderEnumConverter.cs
- EFDataModelProvider.cs
- Window.cs
- BaseConfigurationRecord.cs
- ReferencedAssemblyResolver.cs
- ReferencedCollectionType.cs
- CompositeDispatchFormatter.cs
- GetBrowserTokenRequest.cs
- ShortcutKeysEditor.cs
- designeractionlistschangedeventargs.cs
- dataprotectionpermission.cs
- TreeView.cs
- RequestBringIntoViewEventArgs.cs
- CornerRadius.cs
- COM2EnumConverter.cs
- Range.cs
- ToolStripSeparator.cs
- CacheDependency.cs
- MimeTypeAttribute.cs
- localization.cs
- RadioButtonRenderer.cs
- ChangeTracker.cs
- WebResponse.cs
- StyleCollection.cs
- TableNameAttribute.cs
- SpellerError.cs
- SafeSecurityHandles.cs
- LinkedResource.cs
- ListViewTableCell.cs