Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / Effects / BitmapEffectInput.cs / 1 / BitmapEffectInput.cs
//------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2005 // // File: BitmapEffectInput.cs //----------------------------------------------------------------------------- using MS.Internal; using System; using System.IO; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Diagnostics; using System.Reflection; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Media; using System.Windows.Markup; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using System.Windows.Media.Imaging; using System.Collections.Generic; namespace System.Windows.Media.Effects { ////// BitmapEffect class /// public sealed partial class BitmapEffectInput { private static BitmapSource s_defaultInputSource; ////// Constructor /// public BitmapEffectInput() { } ////// Constructor /// /// input image public BitmapEffectInput(BitmapSource input) { Input = input; } ////// ShouldSerializeInput - this is called by the serializer to determine whether or not to /// serialize the Input property. /// [EditorBrowsable(EditorBrowsableState.Never)] public bool ShouldSerializeInput() { return (Input != BitmapEffectInput.ContextInputSource); } ////// Returns a sentinel value representing the source that is derived from context /// public static BitmapSource ContextInputSource { get { if (s_defaultInputSource == null) { BitmapSource source = new UnmanagedBitmapWrapper(true); source.Freeze(); s_defaultInputSource = source; } return s_defaultInputSource; } } } } // 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
- IWorkflowDebuggerService.cs
- DocumentReference.cs
- HttpCookie.cs
- KeyboardEventArgs.cs
- TextRenderer.cs
- Compensate.cs
- AttachedPropertyMethodSelector.cs
- XmlSchemaAttribute.cs
- ColumnMapProcessor.cs
- EndPoint.cs
- TypeEnumerableViewSchema.cs
- SecurityDocument.cs
- RuleSettings.cs
- CompositeDuplexElement.cs
- PagedControl.cs
- SelectionProcessor.cs
- KeyConverter.cs
- Rule.cs
- CodeDOMProvider.cs
- Bitmap.cs
- PasswordDeriveBytes.cs
- TreeViewImageIndexConverter.cs
- XmlTextEncoder.cs
- documentsequencetextcontainer.cs
- SerializationStore.cs
- ResourceAttributes.cs
- EdmEntityTypeAttribute.cs
- _LocalDataStoreMgr.cs
- ArrayWithOffset.cs
- XmlSchemaAll.cs
- EncryptedXml.cs
- ToolZoneDesigner.cs
- DirectoryLocalQuery.cs
- MapPathBasedVirtualPathProvider.cs
- ConstructorExpr.cs
- SecurityTokenProvider.cs
- CommonGetThemePartSize.cs
- IFlowDocumentViewer.cs
- AccessViolationException.cs
- XmlArrayItemAttributes.cs
- DocumentEventArgs.cs
- SapiAttributeParser.cs
- brushes.cs
- LogicalExpressionEditor.cs
- AnnotationComponentChooser.cs
- HttpCapabilitiesSectionHandler.cs
- HttpCapabilitiesSectionHandler.cs
- CodeIdentifier.cs
- PropVariant.cs
- X509SecurityToken.cs
- ZipIOExtraFieldElement.cs
- TypeUtil.cs
- Flattener.cs
- ObfuscateAssemblyAttribute.cs
- ImageClickEventArgs.cs
- AnonymousIdentificationModule.cs
- WindowsButton.cs
- DatasetMethodGenerator.cs
- Icon.cs
- TraceSection.cs
- ControlDesignerState.cs
- ProgressPage.cs
- FrameworkReadOnlyPropertyMetadata.cs
- Line.cs
- XmlSerializableWriter.cs
- unitconverter.cs
- WindowsBrush.cs
- Light.cs
- LinqDataSourceSelectEventArgs.cs
- QueryPageSettingsEventArgs.cs
- InlinedAggregationOperator.cs
- DataTemplate.cs
- UIPermission.cs
- HandlerFactoryWrapper.cs
- KnownIds.cs
- FileDialogPermission.cs
- SelectManyQueryOperator.cs
- DoubleConverter.cs
- ExtentKey.cs
- SocketAddress.cs
- SourceSwitch.cs
- SQLResource.cs
- ValidatedControlConverter.cs
- SmtpTransport.cs
- XmlImplementation.cs
- X509CertificateCollection.cs
- DependencyPropertyHelper.cs
- ObjectDataSource.cs
- DateTimeSerializationSection.cs
- ListInitExpression.cs
- RenderContext.cs
- FrameworkElementFactoryMarkupObject.cs
- UnsafeNativeMethods.cs
- QilIterator.cs
- SHA256.cs
- UrlMappingsModule.cs
- ToolboxItemCollection.cs
- TreeView.cs
- TableParagraph.cs
- ToggleButton.cs