ComponentOne List for WinForms
In This Topic
    List for WinForms Samples
    In This Topic

    Please be advised that this ComponentOne software tool is accompanied by various sample projects and/or demos which may make use of other development tools included with ComponentOne Studio.

    Samples

    Please refer to the pre-installed product samples through the following path:

    Documents\ComponentOne Samples\WinForms

    The following samples are available for List for WinForms:

    Sample Description
    Tutorial 1 In this tutorial, you will learn how to bind C1List to a DataSet and create a fully functional database browser. You will also learn about the basic properties of the C1List control.
    Tutorial 2 In this tutorial, you will learn how to bind C1Combo to a DataSet. You will also learn about the basic properties of the C1Combo control.
    Tutorial 3 This tutorial demonstrates how you can manually add information to a list using the AddItem Mode without having to bind C1List to a DataSet.
    Tutorial 4 This tutorial demonstrates how to link multiple C1List and C1Combo controls using the Change event to trigger related actions. This technique is particularly useful for displaying master-detail relationships.
    Tutorial 5 In this tutorial, you will learn how to use C1List to display the results of ad-hoc SQL queries. In addition, it will also outline how to set up a connection to a DataSet at run-time.
    Tutorial 6 In this tutorial, you will learn how to select and highlight records that satisfy specified criteria. A group of similar items is generally implemented as a collection in C1List. When manipulating a group of items in C1List, use techniques similar to those described here.
    Tutorial 7 In this tutorial, you will learn how to use the UnboundColumnFetch event to display two fields (First and Last) together in one column.
    Tutorial 8 In this tutorial, you will learn how to use the Translate and DisplayValue properties to assign text to numerical values for a more descriptive list.
    Tutorial 9 In this tutorial, you will learn how to use the Translate and DisplayValue properties to display images in the column.
    Tutorial 10 In this tutorial, you will learn how to change the list's display to highlight rows by creating row styles depending upon a value in the list. List uses the FetchRowStyle event to create style characteristics and apply them to rows dynamically.
    Tutorial 11 In this tutorial, you will learn how to use the AlternatingRows property and built-in styles to apply alternating colors to list rows to improve their readability.
    Tutorial 12 In this tutorial, you will learn how to write code to create a list with two horizontal splits, and then "fix" a pair of columns in the leftmost split.
    Tutorial 13 In this tutorial you will learn to use the SelectionMode property to allow users to select multiple items in a list using a checkbox.
    Tutorial 14 In this tutorial, you will learn how to use Style objects to display arbitrary bitmaps within list cells. In addition to font, color, and alignment settings, Style objects support both background and foreground pictures. Background pictures can be centered, tiled, or stretched to fill the entire cell. Foreground pictures can be positioned relative to the cell text, and can also be displayed using a transparent color.
    Tutorial 15 In this tutorial you will learn to format your list with the OwnerDrawCell event.
    Tutorial 16 In this tutorial, you will learn how to use the ScrollTips property and the FetchScrollTips event to provide a tip box as the user scrolls through a list. You will also learn to create borders and colored borders for each item.
    Tutorial 17 In this tutorial you will utilize the Find method in List. The Find method allows you to perform custom searches within the control.
    Tutorial 18 In this tutorial, you will learn how to search a record from a list using the MatchEntry, MatchCol, MatchCompare and MatchEntryTimeout properties.
    Tutorial 19 In this tutorial, you will learn how to use the LookUp feature to change the value of a C1Combo box.
    Tutorial 20 In this tutorial, you will learn how to use the LimitToList feature to prevent users from entering an item which does not appear in the combo box list.
    Tutorial 21 Design-time support for the AddItem mode of C1List is now available. The following steps demonstrate how to add items and set a layout at design time.