GalleryItem
ViewModel representing the items in the Gallery.
Definition
Namespace:Telerik.Windows.Controls.Diagrams.Extensions
Assembly:Telerik.Windows.Controls.Diagrams.Extensions.dll
Syntax:
public class GalleryItem : ViewModelBase, INotifyPropertyChanged, IDisposable
Inheritance: objectViewModelBaseGalleryItem
Implements:
Inherited Members
Constructors
Initializes a new instance of the GalleryItem class.
public GalleryItem()
Initializes a new instance of the GalleryItem class.
public GalleryItem(string header, RadDiagramShapeBase shape, string type)
The header.
shapeRadDiagramShapeBaseThe shape.
typestringThe type.
Initializes a new instance of the GalleryItem class.
public GalleryItem(string header, RadDiagramShapeBase shape)
The header.
shapeRadDiagramShapeBaseThe shape.
Properties
Gets or sets the header.
public string Header { get; set; }
The header.
Gets or sets the type of the item.
public string ItemType { get; set; }
The type of the item.
Gets or sets the shape.
public RadDiagramShapeBase Shape { get; set; }
The shape.
ToolboxItemBackground
SolidColorBrush
Gets or sets the background of the corresponding toolbox item.
public SolidColorBrush ToolboxItemBackground { get; set; }
The background.
ToolboxItemForeground
SolidColorBrush
Gets or sets the foreground of the corresponding toolbox item.
public SolidColorBrush ToolboxItemForeground { get; set; }
The background.