Welcome to MSDN Blogs Sign in | Join | Help

March 2006 - Posts

Other solutions to implement Alternate Background

We have found three solutions to achieve alternative background scenarios so far. The first one is provided in the previous post. Now we will describe another two. The second solution: D erive from Li stView, override PrepareContainerForItemOverride method
Posted by ATC Avalon Team | 11 Comments
Filed under:

Alternate Background for ListViewItems

This sample shows how to create a ListView control that uses a GridView to display a list of dates that are defined as DateTime objects. Items in this example have alternate background. Key Step 1 . Restyle ListViewItem, and set its Background by converter
Posted by ATC Avalon Team | 2 Comments
Filed under:

Attachment(s): AlternateBackground.zip

ListView with grouping (In GridView mode)

ListView inherits GroupStyle from ItemsControl, so we can easily achieve grouping for GridView. The only thing we should provide is a GroupStyle. Besides, in order to collapse and expande a group, an Expander is added in the GroupStyle. The number on
Posted by ATC Avalon Team | 12 Comments
Filed under:

Attachment(s): GridViewWithGrouping.xaml

Editing In ListView

Li stView does not support editing in V1, but for those who are familiar with File Explorer, editing is quite useful. I will introduce how to make a cell editable in Li stView. Furthermore, you will find it is easy to build a custom control. However,
Posted by ATC Avalon Team | 24 Comments
Filed under:

Attachment(s): editing.zip

ListView Sorting

This sample shows how to create a ListView control that uses a GridView to display a list of dates that are defined as DateTime objects. The sample enables sorting of data in ascending or descending order according to the contents of one column. Key Step
Posted by ATC Avalon Team | 8 Comments
Filed under:

Attachment(s): ListViewSorting.zip

TreeListView: Show Hierarchy Data with Details in Columns

This is the first session of this topic. I’ll introduce the minimum steps needed to build a TreeListView. The TreeListView is able to present hierarchy data with details in columns. See the following diagram: The main Avalon elements we are going to cover
Posted by ATC Avalon Team | 17 Comments
Filed under:

Attachment(s): TreeListView.zip
 
Page view tracker