SetHandler Method
Description
Enables event handling for a XAML object which links XAML events with a Subroutine or Function in code.
Syntax
Public Sub SetHandler( _
ByVal [Handler](#) As Object _
)
Parameters
- Handler: Reference to the parent object.
Remarks
SetHandler enables event handling for a XAML object. This will link XAML events with a Subroutine or Function in code (VB, C#, etc.).
Any XML Markup that is in the CheckBox, Button, RadioButton, Label, or MarkupLabel control's Caption property will be translated to viewable text. To enable event handling for a XAML object in one of the controls mentioned above, call SetHandler. With SetHandler, you only need to specify the Handler of the control and all function names will be calculated from Markup.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.