ClassGalleryItem
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
GalleryItem()
Initializes a new instance of the GalleryItem class.
Declaration
public GalleryItem()
GalleryItem(string, RadDiagramShapeBase)
Initializes a new instance of the GalleryItem class.
Declaration
public GalleryItem(string header, RadDiagramShapeBase shape)
Parameters
header
The header.
shape
The shape.
GalleryItem(string, RadDiagramShapeBase, string)
Initializes a new instance of the GalleryItem class.
Declaration
public GalleryItem(string header, RadDiagramShapeBase shape, string type)
Parameters
header
The header.
shape
The shape.
type
The type.
Properties
Header
Gets or sets the header.
ItemType
Gets or sets the type of the item.
Declaration
public string ItemType { get; set; }
Property Value
The type of the item.
Shape
Gets or sets the shape.
Declaration
public RadDiagramShapeBase Shape { get; set; }
Property Value
The shape.
ToolboxItemBackground
Gets or sets the background of the corresponding toolbox item.
Declaration
public SolidColorBrush ToolboxItemBackground { get; set; }
Property Value
SolidColorBrush
The background.
ToolboxItemForeground
Gets or sets the foreground of the corresponding toolbox item.
Declaration
public SolidColorBrush ToolboxItemForeground { get; set; }
Property Value
SolidColorBrush
The background.