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


IToolboxExample Interface

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Specifies an example instance of an item in the toolbox of a visual designer.

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

Syntax

'Declaration
Public Interface IToolboxExample
public interface IToolboxExample
public interface class IToolboxExample
type IToolboxExample =  interface end
public interface IToolboxExample

The IToolboxExample type exposes the following members.

Properties

  Name Description
Public property DisplayName Infrastructure. The localizable display name in the toolbox.

Top

Methods

  Name Description
Public method CreateExample Infrastructure. Creates an example instance of an item in the toolbox with preset properties.
Public method GetImageStream Infrastructure. Gets a stream for use by the StreamSource property.

Top

Remarks

The IToolboxExample interface is not used by the WPF Designer for Visual Studio.

See Also

Reference

Microsoft.Windows.Design Namespace

IToolboxExampleFactory

ToolboxExampleAttribute