Then use the custom widget approach and use it where ever you like (promote to in designer for example)