Hi,
I guess you want to dynamically set the Icon in your WDA application! If so,
Create an attribute in the context ( say ICON_SOURCE of type string ) then bind the Image source to the attribute created.
Then in your code, set the attribute ICON_SOURCE to value ~Icon/CheckedOk, which displays the Checked Icon.
Regards,
Kiran