Hello,
E.g. the styled text control has a property Text to either retrieve or set the text
in the current control but some could also use the functions GetText() or SetText(text)
to do the same.
Is there some advantage/disadvantage using functions instead of properties
or is it just there to satisfy developer preferences?
Hm, while writing these lines I might see an advantage using properties instead of functions.
When the function itself changes, let's say an additional parameter has been added,
and this change can be handled by the framework itself there is no need for changing the property.
But on the other hand if using a property it might be slower in code execution than using the function.
Some insights?
Thank you
Hubert