Use DeclarativeWidget to draw previews