Class Catalog
Inheritance
System.Object
Catalog
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Experior.Core.dll
Syntax
[TypeConverter(typeof(ObjectConverter))]
public abstract class Catalog : Plugin, ICatalog, IPlugin
Constructors
Catalog(String)
Declaration
protected Catalog(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Properties
Control
Declaration
[Browsable(false)]
public virtual CatalogWpf Control { get; set; }
Property Value
DoubleClickSupported
Declaration
public bool DoubleClickSupported { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Locked
Declaration
[Browsable(false)]
public bool Locked { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Resources
Declaration
public virtual ResourceDictionary Resources { get; }
Property Value
Type |
Description |
System.Windows.ResourceDictionary |
|
Selected
Declaration
[Browsable(false)]
public ICatalogItem Selected { get; set; }
Property Value
Selection
Declaration
[Browsable(false)]
public CatalogItem Selection { get; }
Property Value
Simulation
Declaration
public Environment.Simulation Simulation { get; set; }
Property Value
Target
Declaration
[Browsable(false)]
public Vector3 Target { get; set; }
Property Value
Type |
Description |
System.Numerics.Vector3 |
|
Methods
Declaration
public void Add(ImageSource image, string title)
Parameters
Type |
Name |
Description |
System.Windows.Media.ImageSource |
image |
|
System.String |
title |
|
Declaration
public void Add(ImageSource image, string title, CatalogItem.CreateHandler createevent)
Parameters
Declaration
public void Add(ImageSource image, string title, Environment.Simulation engine, CatalogItem.CreateHandler createevent)
Parameters
Declaration
public void Add(ImageSource image, string title, Environment.Simulation engine, CatalogItem.CreateHandler createevent, object properties)
Parameters
Declaration
public virtual void Add(ImageSource image, string title, Environment.Simulation engine, Func<Assembly> action)
Parameters
Declaration
public void Add(ImageSource image, string title, Func<Assembly> action)
Parameters
Type |
Name |
Description |
System.Windows.Media.ImageSource |
image |
|
System.String |
title |
|
System.Func<Assembly> |
action |
|
Declaration
public void Add(ImageSource image, string group, string title)
Parameters
Type |
Name |
Description |
System.Windows.Media.ImageSource |
image |
|
System.String |
group |
|
System.String |
title |
|
Declaration
public void Add(ImageSource image, string group, string title, CatalogItem.CreateHandler createevent)
Parameters
Type |
Name |
Description |
System.Windows.Media.ImageSource |
image |
|
System.String |
group |
|
System.String |
title |
|
CatalogItem.CreateHandler |
createevent |
|
Declaration
public void Add(ImageSource image, string group, string title, CatalogItem.CreateHandler createevent, object properties)
Parameters
Type |
Name |
Description |
System.Windows.Media.ImageSource |
image |
|
System.String |
group |
|
System.String |
title |
|
CatalogItem.CreateHandler |
createevent |
|
System.Object |
properties |
|
Declaration
public void Add(ImageSource image, string group, string title, Environment.Simulation engine, CatalogItem.CreateHandler createevent)
Parameters
Declaration
public void Add(ImageSource image, string group, string title, Environment.Simulation engine, CatalogItem.CreateHandler createevent, object properties)
Parameters
Declaration
public void Add(ImageSource image, string group, string title, Environment.Simulation engine, Func<Assembly> action)
Parameters
Type |
Name |
Description |
System.Windows.Media.ImageSource |
image |
|
System.String |
group |
|
System.String |
title |
|
Environment.Simulation |
engine |
|
System.Func<Assembly> |
action |
|
Declaration
public void Add(ImageSource image, string group, string title, bool deletable, CatalogItem.CreateHandler createevent)
Parameters
Type |
Name |
Description |
System.Windows.Media.ImageSource |
image |
|
System.String |
group |
|
System.String |
title |
|
System.Boolean |
deletable |
|
CatalogItem.CreateHandler |
createevent |
|
Declaration
public void Add(ImageSource image, string group, string title, bool deletable, CatalogItem.CreateHandler createevent, object properties)
Parameters
Type |
Name |
Description |
System.Windows.Media.ImageSource |
image |
|
System.String |
group |
|
System.String |
title |
|
System.Boolean |
deletable |
|
CatalogItem.CreateHandler |
createevent |
|
System.Object |
properties |
|
Declaration
public void Add(ImageSource image, string group, string title, bool deletable, Environment.Simulation engine, CatalogItem.CreateHandler createevent)
Parameters
Declaration
public void Add(ImageSource image, string group, string title, bool deletable, Environment.Simulation engine, CatalogItem.CreateHandler createevent, object properties)
Parameters
Declaration
public void Add(ImageSource image, string group, string title, Func<Assembly> action)
Parameters
Type |
Name |
Description |
System.Windows.Media.ImageSource |
image |
|
System.String |
group |
|
System.String |
title |
|
System.Func<Assembly> |
action |
|
Declaration
public void Add(ImageSource image, string group, string title, Func<Assembly> action, object properties)
Parameters
Type |
Name |
Description |
System.Windows.Media.ImageSource |
image |
|
System.String |
group |
|
System.String |
title |
|
System.Func<Assembly> |
action |
|
System.Object |
properties |
|
Declaration
public void Add(ImageSource image, string group, string title, string tooltip, CatalogItem.CreateHandler createevent)
Parameters
Type |
Name |
Description |
System.Windows.Media.ImageSource |
image |
|
System.String |
group |
|
System.String |
title |
|
System.String |
tooltip |
|
CatalogItem.CreateHandler |
createevent |
|
Declaration
public void Add(ImageSource image, string group, string title, string tooltip, CatalogItem.CreateHandler createevent, object properties)
Parameters
Type |
Name |
Description |
System.Windows.Media.ImageSource |
image |
|
System.String |
group |
|
System.String |
title |
|
System.String |
tooltip |
|
CatalogItem.CreateHandler |
createevent |
|
System.Object |
properties |
|
Declaration
public void Add(ImageSource image, string group, string title, string tooltip, Environment.Simulation engine, CatalogItem.CreateHandler createevent)
Parameters
Declaration
public void Add(ImageSource image, string group, string title, string tooltip, Environment.Simulation engine, CatalogItem.CreateHandler createevent, object properties)
Parameters
Declaration
public void Add(ImageSource image, string group, string title, string tooltip, Environment.Simulation engine, Func<Assembly> action)
Parameters
Type |
Name |
Description |
System.Windows.Media.ImageSource |
image |
|
System.String |
group |
|
System.String |
title |
|
System.String |
tooltip |
|
Environment.Simulation |
engine |
|
System.Func<Assembly> |
action |
|
Declaration
public void Add(ImageSource image, string group, string title, string tooltip, Environment.Simulation engine, Func<Assembly> action, object properties)
Parameters
Type |
Name |
Description |
System.Windows.Media.ImageSource |
image |
|
System.String |
group |
|
System.String |
title |
|
System.String |
tooltip |
|
Environment.Simulation |
engine |
|
System.Func<Assembly> |
action |
|
System.Object |
properties |
|
Declaration
public void Add(ImageSource image, string group, string title, string tooltip, bool deletable, CatalogItem.CreateHandler createevent)
Parameters
Type |
Name |
Description |
System.Windows.Media.ImageSource |
image |
|
System.String |
group |
|
System.String |
title |
|
System.String |
tooltip |
|
System.Boolean |
deletable |
|
CatalogItem.CreateHandler |
createevent |
|
Declaration
public void Add(ImageSource image, string group, string title, string tooltip, bool deletable, Environment.Simulation engine, CatalogItem.CreateHandler createevent)
Parameters
Declaration
public void Add(ImageSource image, string group, string title, string tooltip, bool deletable, Environment.Simulation engine, CatalogItem.CreateHandler createevent, object properties)
Parameters
Type |
Name |
Description |
System.Windows.Media.ImageSource |
image |
|
System.String |
group |
|
System.String |
title |
|
System.String |
tooltip |
|
System.Boolean |
deletable |
|
Environment.Simulation |
engine |
|
CatalogItem.CreateHandler |
createevent |
|
System.Object |
properties |
|
Declaration
public void Add(ImageSource image, string group, string title, string tooltip, Func<Assembly> action)
Parameters
Type |
Name |
Description |
System.Windows.Media.ImageSource |
image |
|
System.String |
group |
|
System.String |
title |
|
System.String |
tooltip |
|
System.Func<Assembly> |
action |
|
Clear()
Declaration
ClearSelection()
Declaration
public virtual void ClearSelection()
CreateAssembly(ICatalogItem)
Declaration
public IAssembly CreateAssembly(ICatalogItem catalog)
Parameters
Returns
Refresh()
Declaration
public virtual void Refresh()
Remove(CatalogItem)
Declaration
public void Remove(CatalogItem item)
Parameters
Declaration
public virtual List<Environment.UI.Toolbar.BarItem> ShowContextMenu()
Returns
Transparent(Image)
Declaration
public Image Transparent(Image image)
Parameters
Type |
Name |
Description |
System.Drawing.Image |
image |
|
Returns
Type |
Description |
System.Drawing.Image |
|
Implements