Share via


ScalableImageSource Class

Definition

Represents the source of an image that can render as a vector or as a bitmap.

public ref class ScalableImageSource : System::Windows::Freezable
public class ScalableImageSource : System.Windows.Freezable
type ScalableImageSource = class
    inherit Freezable
Public Class ScalableImageSource
Inherits Freezable
Inheritance
ScalableImageSource

Constructors

ScalableImageSource()

Initializes a new instance of the ScalableImageSource class.

Fields

AccessibleNameProperty

Identifies the AccessibleName dependency property.

BrushProperty

Identifies the Brush dependency property.

ImageProperty

Identifies the Image dependency property.

SizeProperty

Identifies the Size dependency property.

Properties

AccessibleName

Gets or sets the accessible name of the image. This is used by accessibility clients to describe the image, and must be localized.

Brush

Gets or sets the source used to render the image as a vector.If this is set, the Image property will be ignored.

Image

Gets or sets the source used to render the image as a bitmap. If the Brush property is set, this will be ignored.

Size

Gets or sets the suggested size of the image.

Methods

CreateInstanceCore()

Creates a new instance of the Freezable derived class.

OnAccessibleNameChanged(PropertyChangedEventArgs<String>)

Called when AccessibleName property changes.

OnBrushChanged(PropertyChangedEventArgs<Brush>)

Called when Brush property changes.

OnImageChanged(PropertyChangedEventArgs<ImageSource>)

Called when Image property changes.

OnSizeChanged(PropertyChangedEventArgs<Size>)

Called when Size property changes.

Events

AccessibleNameChanged

Occurs when AccessibleName property changes.

BrushChanged

Occurs when Brush property changes.

ImageChanged

Occurs when Image property changes.

SizeChanged

Occurs when Size property changes.

Applies to