Add TextElement attached properties sample