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
- DocumentViewerAutomationPeer.cs
- Logging.cs
- IndicCharClassifier.cs
- TargetInvocationException.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- SqlBooleanizer.cs
- Literal.cs
- SafeNativeMethods.cs
- XmlUtil.cs
- TextViewElement.cs
- LeafCellTreeNode.cs
- RightsManagementEncryptionTransform.cs
- GcSettings.cs
- DefaultBindingPropertyAttribute.cs
- HotSpot.cs
- DataTableExtensions.cs
- ContentTextAutomationPeer.cs
- SafeMarshalContext.cs
- NativeMethods.cs
- WebPartTransformerCollection.cs
- XmlNodeChangedEventManager.cs
- DataServiceQueryOfT.cs
- RootAction.cs
- HashFinalRequest.cs
- XsdSchemaFileEditor.cs
- GroupItemAutomationPeer.cs
- DataListItemCollection.cs
- IApplicationTrustManager.cs
- GridViewSortEventArgs.cs
- MultiPageTextView.cs
- ThemeDictionaryExtension.cs
- NameTable.cs
- URIFormatException.cs
- FragmentQueryKB.cs
- MembershipSection.cs
- CqlLexer.cs
- HMAC.cs
- CardSpaceSelector.cs
- InstallerTypeAttribute.cs
- GeometryModel3D.cs
- ManagementException.cs
- ServiceBuildProvider.cs
- MsmqIntegrationInputMessage.cs
- WsrmFault.cs
- ListView.cs
- Triplet.cs
- SqlErrorCollection.cs
- SuppressMessageAttribute.cs
- WebReferencesBuildProvider.cs
- DataBoundControlHelper.cs
- TableRow.cs
- ParserStreamGeometryContext.cs
- GraphicsPath.cs
- ExtendedProperty.cs
- XmlSchemaParticle.cs
- OleDbConnectionFactory.cs
- SqlProvider.cs
- VersionedStreamOwner.cs
- SqlDependency.cs
- XmlDigitalSignatureProcessor.cs
- CodeObjectCreateExpression.cs
- BasicViewGenerator.cs
- XmlAttributeOverrides.cs
- PropertyTab.cs
- WebAdminConfigurationHelper.cs
- FontStyles.cs
- TdsParserStaticMethods.cs
- TextWriter.cs
- DataBoundControlActionList.cs
- MinimizableAttributeTypeConverter.cs
- WindowsGraphicsCacheManager.cs
- ResourceContainer.cs
- COM2Properties.cs
- SqlDataSourceSelectingEventArgs.cs
- ClientRuntimeConfig.cs
- Int32AnimationUsingKeyFrames.cs
- ThreadExceptionEvent.cs
- SettingsPropertyValueCollection.cs
- ControlType.cs
- InfoCardArgumentException.cs
- ResetableIterator.cs
- MatrixStack.cs
- CodeAttributeDeclaration.cs
- MgmtConfigurationRecord.cs
- FontFamilyValueSerializer.cs
- HtmlInputHidden.cs
- AnonymousIdentificationModule.cs
- Base64Stream.cs
- SQLInt16.cs
- Cursor.cs
- LinearGradientBrush.cs
- LogicalCallContext.cs
- MetabaseSettings.cs
- CellRelation.cs
- SQLMoney.cs
- DateTimeSerializationSection.cs
- PrimitiveSchema.cs
- CurrentTimeZone.cs
- Int32Storage.cs
- RightsManagementPermission.cs