Google SubramanyamRaju Xamarin & Windows App Dev Tutorials
Showing posts with label ListBox. Show all posts
Showing posts with label ListBox. Show all posts

Wednesday, 17 December 2014

WindowsPhone : Working with ListBox Items having Hyperlinks (C#-Xaml)

Introduction:

Sometimes we may need to detect hyperlinks from given message.For example I have a Listbox which is binding with multiple message items,but here problem is when user sent hyperlinks to listboxitem message ,then we need to detect hyperlinks from message content and provide action for hyperlink to navigate to linked page.So this post is explained about "How to work with ListboxItems having hyperlinks?". At present this post may not be useful for you,but i am sure it will definitely helpful for you in future :)

Thursday, 19 June 2014

WindowsPhone ListBox Search: HightLight the search result text with specific color(C#-XAML)

Introduction:

In prev post i was explained about get child items in windowsphone,this post is explained about "How to filter/search the listbox items based on text entered in SearchTextBox?" & "How to highlight the search text color in every mapped listbox items?".Oh apart from these two questions ,for the first question there is lot of resources are available to do that,in other hand second question is very interesting requirement and it is little bit complicated to dynamically highlight listbox items text color  which is mapped by text entered in SearchTextBox . Because indirectly it is the way of communication between SearchTextBox & ListBox DataTemplate controls,so we need to get child items of listbox datatemplate and then dynamically format the child items text color with " Run " object element.However this post will gives you simple solution for above both two questions.

Thursday, 27 February 2014

How to display the photo of a contact from Windows Phone C#

Introduction

In some time we may need to get phone contact list images and then display in our images.So that we need to know about Contact object,which contains all available information about an individual contact.However it is a process of create a new bitmap image, set its source to GetPicture, and then display the bitmap in the user interface with reference to Contact object.

Tuesday, 28 January 2014

Coding4Fun:SuperImage Bindind Listbox with more Captured Images without out-of-memory -Part 2

Introduction

In Previous Part1 article we can resolve memory issue with listbox images,but unfortunate there is an issue In Listpage.xaml ,Because listbox Ui loads little bit slow when there are more caprtured images.The reason is in MainPage i was storing whole caprured imagesbytes in isolated storage and readed it on Listpage.xaml,it is little bit more complex for loading UI when reading whole captrured  imagebytes.
So that in this part i am going to introduce best solution is,Direclty reference the isostore image path instead of storing and reading whole image bytes using Coding4Fun Toolkit: Introducing SuperImage .

Monday, 27 January 2014

Windows Phone 8 Listbox Images out of memory exception c# - Part1

Introduction

Images are the best attraction for every mobile app.But Users have high expectations when it comes to using applications on their mobile devices. It is important to have good performance and quality in your applications and there are a number of things you can do to deliver great performance.So as s developer it is more quit difficult to overcome out of memory exception,however I’ll list a few that apply to memory, images, data binding and more.and i hope i will definately helpful for who are having same problem.

Monday, 6 January 2014

How to store ListBox items into IsolatedStorage in WindowsPhone 8 c#

Introduction

In every mobile app,there is requirement for storing data and accessing data. We need to store data in our Phones to persist data when the application is not running.However fortunatley Windows Phone 7 &windows phone 8 provides a secure way to store data into Isolated Store.Isolated Storage, as the name suggests is a special virtualized file system that every application can access for standard IO operations yet the file is unavailable to any other application. Hence the files stored by one application is isolated from another. 

Thursday, 28 November 2013

Customizing default listbox horizontal scrollviewer in WindowPhone C#

Introduction

Generally it is not possible to showing default listbox scrollviewer in windows phone,it will be showing only if user scroll the listbox item.And so we may need to make customizable scrollbar in some requirement.And it is best practice for user want to how many items will presented in long horizontal list. And for our requiremnt, expression blend is best suitable tool for customizing listbox and off cource it is very flexible for henerating customizable xaml of our app UI.
Note:
1)Sample is targeted on  windows phone 7.1
2)Here I am using expression blend 2012 which is comes under wp8 sdk.
Search Engine Submission - AddMe