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
- HttpRequest.cs
- TreeWalkHelper.cs
- XmlTextReaderImplHelpers.cs
- NavigationCommands.cs
- counter.cs
- FileCodeGroup.cs
- StringFreezingAttribute.cs
- HtmlInputText.cs
- ClientRoleProvider.cs
- _NetRes.cs
- DataViewListener.cs
- DocumentGrid.cs
- ContentElementAutomationPeer.cs
- ServicesUtilities.cs
- ColumnClickEvent.cs
- WebException.cs
- UTF32Encoding.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- StylusShape.cs
- EncryptedReference.cs
- MatcherBuilder.cs
- DbSource.cs
- GradientSpreadMethodValidation.cs
- EntityObject.cs
- TextSelectionHighlightLayer.cs
- NGCSerializationManagerAsync.cs
- FileUtil.cs
- FixUpCollection.cs
- EdmRelationshipRoleAttribute.cs
- LookupNode.cs
- RadioButton.cs
- DataSourceControlBuilder.cs
- DictionarySectionHandler.cs
- UrlMapping.cs
- MailAddress.cs
- AstTree.cs
- BindingSourceDesigner.cs
- LinqDataSourceUpdateEventArgs.cs
- CmsUtils.cs
- RegexGroup.cs
- DesignerLoader.cs
- NumberFunctions.cs
- TreeBuilderXamlTranslator.cs
- ElementHostAutomationPeer.cs
- FixedSchema.cs
- WebPartTransformerCollection.cs
- AlphaSortedEnumConverter.cs
- TextBoxAutoCompleteSourceConverter.cs
- DoubleConverter.cs
- ErrorRuntimeConfig.cs
- RangeValuePattern.cs
- EntityDataSourceContainerNameItem.cs
- ExpressionBinding.cs
- IndicCharClassifier.cs
- DnsPermission.cs
- WindowsToolbarItemAsMenuItem.cs
- UserValidatedEventArgs.cs
- ContextStack.cs
- LabelAutomationPeer.cs
- DBSqlParserColumn.cs
- ToolStripLocationCancelEventArgs.cs
- mediaeventshelper.cs
- TypeConverterHelper.cs
- EarlyBoundInfo.cs
- COM2ExtendedUITypeEditor.cs
- ImageListUtils.cs
- EnumUnknown.cs
- WebPartVerb.cs
- hebrewshape.cs
- RawStylusActions.cs
- Speller.cs
- BrowserCapabilitiesFactory.cs
- WebPartCatalogAddVerb.cs
- AdRotatorDesigner.cs
- HandlerMappingMemo.cs
- returneventsaver.cs
- ConditionCollection.cs
- XmlDataSourceView.cs
- SizeAnimation.cs
- BookmarkNameHelper.cs
- FrameworkPropertyMetadata.cs
- TypeLibConverter.cs
- CompositeKey.cs
- ListBindableAttribute.cs
- XPathSingletonIterator.cs
- ObjectListCommandEventArgs.cs
- FontStretches.cs
- NameValuePermission.cs
- DefaultBindingPropertyAttribute.cs
- SspiHelper.cs
- CheckBoxAutomationPeer.cs
- ArgumentOutOfRangeException.cs
- dataobject.cs
- MetadataPropertyvalue.cs
- ArraySortHelper.cs
- X509Utils.cs
- TextBoxBaseDesigner.cs
- QilTypeChecker.cs
- XmlException.cs
- OdbcConnectionStringbuilder.cs