Output Variable setting from properties window not from XAML

I have created an activity using ‘Activity creator’ and there is one output variable
public OutArgument Result { get; set; }

but after publishing it, when I try to add (string type)variable it is not accepted and works only when is added from the properties window.

it work perfectly for input variable

image