ImageSourceExtension 类

定义

注意

Callers should use the CrispImage control which supports scaling and theming. Additionally, in some cases this markup extension can cause crashes.

仅供 Microsoft 内部使用。 延续 ImageSource

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)
继承
属性

构造函数

ImageSourceExtension(ImageSource)

创建该类的一个新实例。

属性

Value

仅供 Microsoft 内部使用。

(继承自 ValueExtension<T>)

方法

ProvideValue(IServiceProvider)

仅供 Microsoft 内部使用。

(继承自 ValueExtension<T>)

适用于