What is ResourceDictionary?

Technology CommunityCategory: XamarinWhat is ResourceDictionary?
VietMX Staff asked 4 years ago
  • ResourceDictionary is used to define the XAML Resources which can be re-used more than once throughout the Xamarin.Forms application.
  • XAML resources are the definition of objects which can be used more than once.
  • ResourceDictionary allows all such resource objects declared at one place.
  • Generally, we can define StylesControlTemplatesDataTemplatesColors and Converters into the ResourceDictionary.
  • In XAML, these resources can be accessed using the StaticResource Markup Extension.
  • ResourceDictionary can be declared at either Element Level (inside specific Element), Page Level (inside Page) or Application Level (inside App.xaml).

Please Disable AdBlock Plus and Refresh Website