ImageSourceExtension Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Callers should use the CrispImage control which supports scaling and theming. Additionally, in some cases this markup extension can cause crashes.
MarkupExtension which can create an ImageSource from a path string.
public ref class ImageSourceExtension sealed : Microsoft::VisualStudio::PlatformUI::ValueExtension<System::Windows::Media::ImageSource ^>
public sealed class ImageSourceExtension : Microsoft.VisualStudio.PlatformUI.ValueExtension<System.Windows.Media.ImageSource>
[System.Obsolete("Callers should use the CrispImage control which supports scaling and theming. Additionally, in some cases this markup extension can cause crashes.")]
public sealed class ImageSourceExtension : Microsoft.VisualStudio.PlatformUI.ValueExtension<System.Windows.Media.ImageSource>
type ImageSourceExtension = class
inherit ValueExtension<ImageSource>
[<System.Obsolete("Callers should use the CrispImage control which supports scaling and theming. Additionally, in some cases this markup extension can cause crashes.")>]
type ImageSourceExtension = class
inherit ValueExtension<ImageSource>
Public NotInheritable Class ImageSourceExtension
Inherits ValueExtension(Of ImageSource)
- Inheritance
- Attributes
Constructors
ImageSourceExtension(ImageSource) |
Creates a new instance of the class. |
Properties
Value |
Microsoft internal use only. (Inherited from ValueExtension<T>) |
Methods
ProvideValue(IServiceProvider) |
Microsoft internal use only. (Inherited from ValueExtension<T>) |