Skip to content

SetMethod Method

Description

Links a XAML event with a Subroutine or Function in code.

Syntax

Public Sub SetMethod( _
    ByVal Handler As Object, _
    ByVal Method As String _
)

Parameters

  • Handler: Reference to the parent object.
  • Method: Name of the Subroutine or Function in code to link to a XAML event.

Remarks

The SetMethod of the MarkupContext object is used to connect method calls in XML Markup with actual methods, functions, and events in your code.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.