Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Using an object in Resource Dictionary

$
0
0
<Frame BorderColor="#002e50" CornerRadius="0" HorizontalOptions="FillAndExpand" HasShadow="False">
                        <Frame.Content>
                            <StackLayout>
                                <abstractions:SvgImage SvgAssembly="{Binding SvgAssembly}" SvgPath="{Binding Something}" HorizontalOptions="Center" WidthRequest="30" HeightRequest="30" />
                                <Label Text="Some text" TextColor="#002e50" />
                            </StackLayout>
                        </Frame.Content>
                    </Frame>

I want to use something like an above code in Application Resource Dictionary and use on all the pages of my app. How can i achieve this.

Thank you


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>