Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / ImageSource.cs / 1 / ImageSource.cs
//------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, All Rights Reserved. // // File: ImageSource.cs // //----------------------------------------------------------------------------- using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Reflection; using MS.Internal; using System.Diagnostics; using System.Windows.Media; using System.Globalization; using System.Security; using System.Security.Permissions; using System.Runtime.InteropServices; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using System.Windows.Markup; using MS.Win32; namespace System.Windows.Media { #region ImageSource ////// Interface for Bitmap Sources, included decoders and effects /// [TypeConverter(typeof(System.Windows.Media.ImageSourceConverter))] [ValueSerializer(typeof(ImageSourceValueSerializer))] [Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] public abstract partial class ImageSource : Animatable { #region Constructor ////// Don't allow 3rd party extensibility. /// internal ImageSource() { } #endregion Constructor ////// Get the width of the image in measure units (96ths of an inch). /// abstract public double Width { get; } ////// Get the height of the image in measure units (96ths of an inch). /// abstract public double Height { get; } ////// Get the metadata associated with this image source /// abstract public ImageMetadata Metadata { get; } ////// Get the Size associated with this image source /// internal virtual Size Size { get { return new Size(Width, Height); } } #region ToInstanceDescriptor ////// Can serialze "this" to a string /// internal virtual bool CanSerializeToString() { return false; } #endregion ////// Derived classes must override this method and update realizations on dependent /// resources if required. /// internal virtual void UpdateRealizations(RealizationContext ctx) { return; } } #endregion // ImageSource } // 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
- RuleInfoComparer.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- QueryPageSettingsEventArgs.cs
- HostedHttpRequestAsyncResult.cs
- RawStylusInputCustomData.cs
- BitmapEffectGroup.cs
- RenderOptions.cs
- RouteData.cs
- NotFiniteNumberException.cs
- MiniAssembly.cs
- XPathQilFactory.cs
- GlobalizationSection.cs
- SerializationStore.cs
- CharacterBuffer.cs
- ExtensionDataReader.cs
- SiteMembershipCondition.cs
- ValidationHelpers.cs
- WorkflowQueue.cs
- PolicyValidationException.cs
- RelationshipWrapper.cs
- TextServicesHost.cs
- XmlArrayItemAttribute.cs
- XamlInt32CollectionSerializer.cs
- ExtendedPropertiesHandler.cs
- CellCreator.cs
- DoubleAnimationBase.cs
- SpecialFolderEnumConverter.cs
- ImageEditor.cs
- lengthconverter.cs
- BadImageFormatException.cs
- InteropExecutor.cs
- MSAAWinEventWrap.cs
- InstallerTypeAttribute.cs
- RadialGradientBrush.cs
- CompilationRelaxations.cs
- BatchStream.cs
- SqlDataSourceRefreshSchemaForm.cs
- CharConverter.cs
- UserPersonalizationStateInfo.cs
- streamingZipPartStream.cs
- BitmapData.cs
- IISUnsafeMethods.cs
- EpmHelper.cs
- Update.cs
- TextElementCollectionHelper.cs
- SafeFileHandle.cs
- MasterPageParser.cs
- ErrorLog.cs
- AudioBase.cs
- EventHandlersStore.cs
- CustomTypeDescriptor.cs
- BamlLocalizableResource.cs
- SerializationHelper.cs
- FileLevelControlBuilderAttribute.cs
- _ShellExpression.cs
- Msmq3PoisonHandler.cs
- PrimitiveDataContract.cs
- ReadOnlyHierarchicalDataSource.cs
- BindingNavigator.cs
- SAPICategories.cs
- SqlRowUpdatedEvent.cs
- Version.cs
- DbProviderFactory.cs
- ApplicationBuildProvider.cs
- StreamUpgradeAcceptor.cs
- OdbcConnectionHandle.cs
- ActivityTypeResolver.xaml.cs
- CharUnicodeInfo.cs
- DelayedRegex.cs
- TrustManagerMoreInformation.cs
- WindowClosedEventArgs.cs
- PlainXmlDeserializer.cs
- initElementDictionary.cs
- ListBoxAutomationPeer.cs
- PingReply.cs
- ObjectAssociationEndMapping.cs
- ConfigurationLoaderException.cs
- ListViewItemMouseHoverEvent.cs
- ValidatingCollection.cs
- UserControlDocumentDesigner.cs
- Point3DCollectionConverter.cs
- RemoteArgument.cs
- ObjectDesignerDataSourceView.cs
- ToolBar.cs
- ControlCachePolicy.cs
- FixedSchema.cs
- COM2ExtendedBrowsingHandler.cs
- LoadGrammarCompletedEventArgs.cs
- AutoResetEvent.cs
- DataGridPageChangedEventArgs.cs
- StreamReader.cs
- CodeMethodReturnStatement.cs
- QuarticEase.cs
- DataGridViewSelectedColumnCollection.cs
- NotCondition.cs
- AttributeCollection.cs
- FieldMetadata.cs
- SerializerDescriptor.cs
- MemoryFailPoint.cs
- XslUrlEditor.cs