xaml地址写法


地址写法
<!--<Image HorizontalAlignment="Center" VerticalAlignment="Center"
Source="/XDS_SmartC_Client;component/Images/GIF/fileUpload.png"/>-->

图片预览:UCImagePreview
<local:UCImagePreview x:Name="imagePre" OcImage="{Binding OCImage}"/>
OCImage类型:ObservableCollection<UploadImageModel> ocImages


Gif 播放 GifImage
<!--<MediaElement x:Name="gifEnclosure" Height="30" Width="100" LoadedBehavior="Play" Stretch="Uniform"
Source=".\Images\GIF\fileUpload.gif" MediaEnded="MediaElement_MediaEnded" />-->
<!--<local:GifImage x:Name="gifEnclosure" GifPath="\Images\GIF\fileUpload.gif" Height="30" Width="50"/>-->

 

posted @ 2019-08-31 15:23  马玲  阅读(189)  评论(0编辑  收藏  举报