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
- ping.cs
- TableLayoutSettings.cs
- SchemaNamespaceManager.cs
- CompressedStack.cs
- PackagingUtilities.cs
- Main.cs
- HttpSessionStateBase.cs
- DocumentViewerBaseAutomationPeer.cs
- LambdaCompiler.Expressions.cs
- TypeUtil.cs
- RegexRunner.cs
- DragDrop.cs
- SystemSounds.cs
- PointCollectionConverter.cs
- DataRow.cs
- SplashScreenNativeMethods.cs
- BitmapEncoder.cs
- Misc.cs
- Border.cs
- HttpRuntimeSection.cs
- BaseCAMarshaler.cs
- Lease.cs
- SerializationFieldInfo.cs
- dbdatarecord.cs
- DynamicMetaObjectBinder.cs
- StyleBamlTreeBuilder.cs
- BinaryEditor.cs
- EntityDesignerBuildProvider.cs
- ImplicitInputBrush.cs
- ConfigPathUtility.cs
- BaseValidator.cs
- ClientCredentials.cs
- TriggerAction.cs
- CharacterString.cs
- DrawToolTipEventArgs.cs
- AssemblyInfo.cs
- EntityProviderServices.cs
- OrthographicCamera.cs
- StaticExtension.cs
- XmlDocument.cs
- WebPartDisplayMode.cs
- TempFiles.cs
- LongValidatorAttribute.cs
- RequestDescription.cs
- PassportIdentity.cs
- LookupBindingPropertiesAttribute.cs
- RoleBoolean.cs
- LineServices.cs
- SearchForVirtualItemEventArgs.cs
- DependencyPropertyHelper.cs
- SQLSingleStorage.cs
- AVElementHelper.cs
- SimpleRecyclingCache.cs
- DirectoryObjectSecurity.cs
- IndexedEnumerable.cs
- GroupStyle.cs
- GlobalizationAssembly.cs
- SynchronizationScope.cs
- WpfPayload.cs
- ToolStripItemCollection.cs
- DoubleCollectionValueSerializer.cs
- BitHelper.cs
- ScriptingProfileServiceSection.cs
- StylusPlugin.cs
- BehaviorService.cs
- ObjectMemberMapping.cs
- AssemblyFilter.cs
- DataGridViewCellCancelEventArgs.cs
- BoolExpressionVisitors.cs
- BitConverter.cs
- ThaiBuddhistCalendar.cs
- DataGridItemAttachedStorage.cs
- XPathMultyIterator.cs
- Evaluator.cs
- ExpressionBindings.cs
- TypedElement.cs
- NavigateEvent.cs
- PageFunction.cs
- RegexTree.cs
- ViewBase.cs
- Block.cs
- CodeSnippetExpression.cs
- DefaultMergeHelper.cs
- DependencyObjectPropertyDescriptor.cs
- WindowsTreeView.cs
- ReferenceEqualityComparer.cs
- FormsAuthenticationCredentials.cs
- TemplateBamlRecordReader.cs
- login.cs
- XomlDesignerLoader.cs
- SQLStringStorage.cs
- WebPartCatalogAddVerb.cs
- NamedPipeProcessProtocolHandler.cs
- SystemTcpStatistics.cs
- ImageAttributes.cs
- XXXInfos.cs
- TargetControlTypeCache.cs
- DateTimePickerDesigner.cs
- SspiSafeHandles.cs
- FileNotFoundException.cs