How to get Element references in Angular templates?

Table of Content 1. Introduction 2. What is Angular ElementRef? 3. Getting started 4. Accessing Template Elements using ViewChild 5. Property of ElementRef 6. Using template reference variables with child components 7. How to use angular element references on a directive? 8. How to prevent XSS attack on ElementRef? 9. Conclusion Introduction Angular’s template reference variables give a useful API across which you can interconnect with DOM...

Read More

Implement View in Xamarin form

The building block of a cross-platform mobile application is Xamarin Forms views. Views are user-interface objects like labels, buttons, and sliders that are normally called controls or widgets in alternative graphical programming environments. The views supported by Xamarin.Forms all derive from the read category. Table of Content 1. Label 2. Entry 3. Editor 4. BoxView 5. WebView 6. Button 7. ImageButton 8. SearchBar 9. ListView ...

Read More

A complete guide on the Accessible Apps

Table of Content 1. What is Xamarin? 2. What is Accessibility of an App? 3. Impending Accessible Apps 4. Points to keep in mind while developing App 4.1. Creating Visible Content 4.2. Support large size of content 4.3. Navigation must be good and understandable 4.4. Image and Icons 4.5. All platform Supportive 5. Conclusion What is Xamarin? Xamarin is a platform developed by Microsoft and is fully open source for developing latest...

Read More

Correct Use of Data binding with ListView & CollectionView in Xamarin.Forms

Whenever we need to show our data in a list structure we use ListView. It does all the tasks that we desire but its performance is not very good due to lack of visualization support. In Xamarin.Forms 4.3, we got one new component named CollectionView. CollectionView is as same as ListView and does the same tasks but the only difference is that it is better with good performance than ListView. To bind the data of the ListItems and ListView or CollectionView, we use the MVVM...

Read More

ContentPage Customization using Xamarin.Forms

Table of Content 1. Introduction 2. Creating a ContentPage in Xamarin.Forms 3. Consuming the ContentPage from Xamarin.Forms 4. Creating a Custom Renderer for every platform 5. Conclusion Introduction ContentPage is the simplest and most common page among all the types of pages available in XamarinForms. It is mostly used to display only a single view that can be StackLayout or GridLayout or ScrollLayout. It is a visual element of the page and occupies most of the...

Read More