New to Telerik UI for WPFStart a free 30-day trial

Represents a generator that produces a placeholder image when no image is available.

Definition

Namespace:Telerik.Windows.Documents.Imaging

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class NoImagePlaceholderGenerator

Inheritance: objectNoImagePlaceholderGenerator

Constructors

C#
public NoImagePlaceholderGenerator()

Methods

Creates a placeholder image with the specified width and height.

C#
public static BitmapImage CreatePlaceholder(int width, int height)
Parameters:widthint

The width of the placeholder image.

heightint

The height of the placeholder image.

Returns:

BitmapImage

Returns a placeholder image of type T.