Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Effects / BitmapEffectInput.cs / 1305600 / 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
- StringConcat.cs
- SqlDataSourceEnumerator.cs
- DocumentAutomationPeer.cs
- DeliveryStrategy.cs
- RegistryConfigurationProvider.cs
- _SingleItemRequestCache.cs
- LinkUtilities.cs
- WindowsToolbarAsMenu.cs
- ProxyManager.cs
- CallbackException.cs
- TypeExtension.cs
- CharAnimationUsingKeyFrames.cs
- DesignerVerb.cs
- CodeIterationStatement.cs
- MulticastIPAddressInformationCollection.cs
- EntityDataSourceDesigner.cs
- Calendar.cs
- RightsManagementEncryptedStream.cs
- XmlDocumentType.cs
- Exception.cs
- GridViewAutomationPeer.cs
- EncoderParameter.cs
- CustomValidator.cs
- ProxyHwnd.cs
- DefaultValidator.cs
- ActivityCodeGenerator.cs
- CompilerResults.cs
- PeerNameRecord.cs
- DiagnosticsConfiguration.cs
- FloaterBaseParagraph.cs
- IndexerNameAttribute.cs
- KeySpline.cs
- EventPropertyMap.cs
- ButtonColumn.cs
- DynamicObjectAccessor.cs
- XmlSchemaProviderAttribute.cs
- LayoutManager.cs
- ValuePattern.cs
- DoubleLink.cs
- InternalConfigEventArgs.cs
- XmlSchemaSimpleTypeRestriction.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- AnimationTimeline.cs
- FixUpCollection.cs
- EmissiveMaterial.cs
- BoolLiteral.cs
- RuntimeHandles.cs
- XXXOnTypeBuilderInstantiation.cs
- EntityDataSourceView.cs
- SqlSelectStatement.cs
- ComboBoxDesigner.cs
- DetailsViewDeleteEventArgs.cs
- SortedList.cs
- SiteMapDataSourceDesigner.cs
- XMLUtil.cs
- WindowsGraphicsCacheManager.cs
- FrameDimension.cs
- ExpressionBuilderCollection.cs
- EventBuilder.cs
- ToolStripGripRenderEventArgs.cs
- ObservableCollectionDefaultValueFactory.cs
- DataGridItemCollection.cs
- XmlConvert.cs
- UnmanagedMarshal.cs
- SoapAttributeAttribute.cs
- RoleManagerSection.cs
- MultiBindingExpression.cs
- SmiMetaDataProperty.cs
- SmiMetaDataProperty.cs
- TimeZone.cs
- ExtentKey.cs
- DaylightTime.cs
- ClientRolePrincipal.cs
- DataServiceResponse.cs
- ExpressionNode.cs
- PointLight.cs
- X509Utils.cs
- DataControlField.cs
- Pkcs7Recipient.cs
- MouseEvent.cs
- InputMethod.cs
- AutomationElement.cs
- RtfControls.cs
- XmlAutoDetectWriter.cs
- CodeDirectiveCollection.cs
- SchemaNames.cs
- ListControlConvertEventArgs.cs
- WebServiceFault.cs
- XPathNodeList.cs
- CodeCatchClauseCollection.cs
- BindingGroup.cs
- PtsPage.cs
- DataGridSortCommandEventArgs.cs
- ServiceMetadataExtension.cs
- PtsHelper.cs
- TraversalRequest.cs
- OdbcError.cs
- MaskedTextBoxDesigner.cs
- PointAnimationUsingPath.cs
- DynamicEndpoint.cs