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
- MsmqOutputChannel.cs
- ZipIOLocalFileDataDescriptor.cs
- HierarchicalDataSourceControl.cs
- TypeLoadException.cs
- MessageSecurityVersion.cs
- DataGridView.cs
- SafeTimerHandle.cs
- AspCompat.cs
- EncoderParameters.cs
- CompoundFileIOPermission.cs
- SqlNotificationRequest.cs
- FilterQuery.cs
- XmlWrappingReader.cs
- ApplicationServiceManager.cs
- CodeArgumentReferenceExpression.cs
- ClipboardData.cs
- EnvelopedPkcs7.cs
- CharUnicodeInfo.cs
- Block.cs
- InputDevice.cs
- EntityDataSourceSelectedEventArgs.cs
- CompilationRelaxations.cs
- CharConverter.cs
- CaretElement.cs
- FormatterConverter.cs
- RuntimeCompatibilityAttribute.cs
- DataGridViewRowsRemovedEventArgs.cs
- NonBatchDirectoryCompiler.cs
- Schema.cs
- DataStreamFromComStream.cs
- xamlnodes.cs
- OdbcConnection.cs
- NativeDirectoryServicesQueryAPIs.cs
- TagPrefixAttribute.cs
- MimeFormatter.cs
- IntSecurity.cs
- Ray3DHitTestResult.cs
- SQLSingleStorage.cs
- PanelDesigner.cs
- BamlLocalizabilityResolver.cs
- NavigatingCancelEventArgs.cs
- ClientTargetSection.cs
- DataControlFieldsEditor.cs
- ObjectStorage.cs
- OciLobLocator.cs
- StorageModelBuildProvider.cs
- IPEndPoint.cs
- SqlDataSourceStatusEventArgs.cs
- ScriptHandlerFactory.cs
- Context.cs
- QuerySettings.cs
- IPAddressCollection.cs
- Base64WriteStateInfo.cs
- SimpleWorkerRequest.cs
- ColumnMapTranslator.cs
- ScriptResourceInfo.cs
- WindowsScroll.cs
- CalendarButton.cs
- DocumentReferenceCollection.cs
- ViewStateException.cs
- FileDetails.cs
- XmlArrayAttribute.cs
- WebPartRestoreVerb.cs
- DataTableNewRowEvent.cs
- TemplateDefinition.cs
- XmlILIndex.cs
- ObjectAssociationEndMapping.cs
- DecimalAnimationUsingKeyFrames.cs
- SafeNativeMethods.cs
- FloaterBaseParagraph.cs
- BooleanFacetDescriptionElement.cs
- EncodedStreamFactory.cs
- ModifierKeysConverter.cs
- StorageMappingItemLoader.cs
- ToolStripMenuItemDesigner.cs
- ScalarConstant.cs
- TypeRestriction.cs
- DetailsViewInsertedEventArgs.cs
- FunctionGenerator.cs
- SendContent.cs
- VisualStyleElement.cs
- KerberosTicketHashIdentifierClause.cs
- PeerToPeerException.cs
- InterleavedZipPartStream.cs
- DefaultTextStore.cs
- SystemTcpConnection.cs
- LabelLiteral.cs
- RectAnimationClockResource.cs
- BuildManager.cs
- InternalBufferOverflowException.cs
- LinkConverter.cs
- CollectionViewGroupInternal.cs
- SQLCharsStorage.cs
- DataTableMapping.cs
- Viewport2DVisual3D.cs
- TreeView.cs
- ProfilePropertyNameValidator.cs
- PartitionResolver.cs
- PointIndependentAnimationStorage.cs
- SqlMethods.cs