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

ViewModel representing the items in the Gallery.

Definition

Constructors

Initializes a new instance of the GalleryItem class.

C#
public GalleryItem()

Initializes a new instance of the GalleryItem class.

C#
public GalleryItem(string header, RadDiagramShapeBase shape, string type)
Parameters:headerstring

The header.

shapeRadDiagramShapeBase

The shape.

typestring

The type.

Initializes a new instance of the GalleryItem class.

C#
public GalleryItem(string header, RadDiagramShapeBase shape)
Parameters:headerstring

The header.

shapeRadDiagramShapeBase

The shape.

Properties

Gets or sets the header.

C#
public string Header { get; set; }
Property Value:

The header.

Gets or sets the type of the item.

C#
public string ItemType { get; set; }
Property Value:

The type of the item.

Gets or sets the shape.

C#
public RadDiagramShapeBase Shape { get; set; }
Property Value:

The shape.

ToolboxItemBackground

SolidColorBrush

Gets or sets the background of the corresponding toolbox item.

C#
public SolidColorBrush ToolboxItemBackground { get; set; }
Property Value:

The background.

ToolboxItemForeground

SolidColorBrush

Gets or sets the foreground of the corresponding toolbox item.

C#
public SolidColorBrush ToolboxItemForeground { get; set; }
Property Value:

The background.