Поделиться через


ModelService.ConvertItem Method

Converts a ModelItem created in another designer to a ModelItem for this designer.

Namespace:  Microsoft.Windows.Design.Services
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride Function ConvertItem ( _
    item As ModelItem _
) As ModelItem
public abstract ModelItem ConvertItem(
    ModelItem item
)
public:
virtual ModelItem^ ConvertItem(
    ModelItem^ item
) abstract
abstract ConvertItem : 
        item:ModelItem -> ModelItem 
public abstract function ConvertItem(
    item : ModelItem
) : ModelItem

Parameters

Return Value

Type: Microsoft.Windows.Design.Model.ModelItem
The converted item, associated with this designer.

.NET Framework Security

See Also

Reference

ModelService Class

Microsoft.Windows.Design.Services Namespace

Other Resources

Editing Model Architecture

WPF Designer Extensibility