Share via


EventBindingService.ShowMethod Method

When overridden in a derived class, attempts to display the specified method to the user.

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

Syntax

'Declaration
Public MustOverride Function ShowMethod ( _
    modelEvent As ModelEvent, _
    methodName As String _
) As Boolean
public abstract bool ShowMethod(
    ModelEvent modelEvent,
    string methodName
)
public:
virtual bool ShowMethod(
    ModelEvent^ modelEvent, 
    String^ methodName
) abstract
abstract ShowMethod : 
        modelEvent:ModelEvent * 
        methodName:string -> bool 
public abstract function ShowMethod(
    modelEvent : ModelEvent, 
    methodName : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the method is successfully displayed to the user; otherwise, false.

Remarks

There are different ways a method can be displayed to the user. For example, the host might open a code editor and position the cursor at the first statement in the method. The host could also open the method in a window.

.NET Framework Security

See Also

Reference

EventBindingService Class

Microsoft.Windows.Design.Services Namespace

ModelEditingScope

ModelEventCollection

Other Resources

WPF Designer Extensibility Architecture