开发者

Setting an Image to my Image control

开发者 https://www.devze.com 2023-01-11 23:21 出处:网络
private void SetShipmentStatus(bool status) { if (status) { txtStatus.Text = \"Su envio fue entregado!\";
private void SetShipmentStatus(bool status)
{
    if (status)
    {
        txtStatus.Text = "Su envio fue entregado!";
        imgStatus.Source = ???
    }
}

How can I give my XAML Image control a 开发者_如何学运维source programatically? I have the image in this location as Resource:

Setting an Image to my Image control

0

精彩评论

暂无评论...
验证码 换一张
取 消