IVisualObjectFactory

Top Previous Topic Next Topic  Print this topic

IVisualObjectFactory ensures the implementation for customizing the properties of visual elements that will be displayed later or create custom visual element from useful data.

 

Methods

 

Name

Description

CustomizeObjectData

Customizes information from the object data

GetVisualElement

Creates a custom visual element from the given object data

 

 

CustomizeObjectData

 

Customizes information about the object data before visual element is created from it.

 

 

Boolean CustomizeObjectData(ObjectData objectData);

 

 

Return Value

 

Returns true if this plugin should allow other plugins to customize this object data

Returns false if this plugin want to have is own customization

 

Parameters

 

objectData

       The object data which can be edited to change the visual element's properties. The structure is described in detail here

       

 

GetVisualElement

 

Creates a custom visual element from an object data

 

 

DependencyObject GetVisualElement(ObjectData objectData);

 

 

Return Value

 

Returns custom visual element

Returns null if custom visual element cannot be built

 

Parameters

 

objectData

       The object data used to generate the visual element. The structure is described in detail here