Border is the new recommended way of doing things. I played with converting this a little bit but you might reach out to Javier on the recommended replacements here - CornerRadius => Border.Clip - BorderColor => Stroke - HasShadow => Border.Shadow