Local File Storage using Xamarin Forms

In Xamarin.Forms we run the code on the different mobile platforms and every platform has its own file system that is different from other platforms.All platforms have their own file system to read, write, and delete the file. In Xamarin.Forms there is no any direct API to use the local file system using Xamarin.Forms. Using PCLStorage that is a third-party component, we can share the file storage library with all the platforms inside the shared code so there is no need to write...

Read More

Everything you need to know about WPF Storyboard

Table of Content 1. What is WPF Storyboard? 2. What is the use of Storyboard? 3. How to Apply Animation with a Storyboard? 3.1. Storyboard Fields 3.2. Storyboard Events 3.3. Storyboard Properties 3.4. Storyboard Attached Properties 4. How Storyboard can work? 4.1. Control a Storyboard in XAML 5. Conclusion What is WPF Storyboard? A Story Board is just a place to stored information about animation. You can also create a...

Read More

Using Styles and Templates in WPF

WPF styling and templating is a feature which helps developer and designers to offer attractive look to the User Interface by customizing application appearance, we need one templating model.It is the best feature that is introduced by WPF. It gives us permission to make a change in control, for example you can add image into textbox and ComboBox. You can do lot more things by using style and template. WPF provides Data Binding feature and it separates the design and logic. It...

Read More

What is dependency injection interface in Xamarin forms?

Table of Content 1. What is a Dependency injection? 2. Need for Dependency Injection 3. Conclusion What is a Dependency injection? In Dependency injection, there is no need to create a separate interface for all native platforms. This interface can give to a container. In Dependency injection, we can move to the creation and binding of the dependent object outside of the class. At runtime injecting dependency into an object that another class is responsible for...

Read More

Generating PDF File from HTML String in Xamarin Forms

There is no support or feature to generate or view PDF files in the Xamarin Forms. We can achieve the above requirements using native support through renderer for both platform Android and iOS. In this blog, we will see an application that is divided into three categories.First, we will create HTML from the URL, then convert HTML string to PDF file, and then will view the PDF file.We can easily get the HTML string from the URL using HTTPClient or WebClient class. There is no default...

Read More