diff --git a/dotnet-desktop-guide/framework/wpf/controls/listview-overview.md b/dotnet-desktop-guide/framework/wpf/controls/listview-overview.md index 2edb242ab2..a4130b3a84 100644 --- a/dotnet-desktop-guide/framework/wpf/controls/listview-overview.md +++ b/dotnet-desktop-guide/framework/wpf/controls/listview-overview.md @@ -12,7 +12,7 @@ ms.assetid: 989e12b0-260e-4570-95c6-489284003ce2 --- # ListView Overview -The control provides the infrastructure to display a set of data items in different layouts or views. For example, a user may want to display data items in a table and also to sort its columns. +The control provides the infrastructure to display a set of data items in using a different layout or view. For example, a user may want to display data items in a table and also to sort its columns. > [!NOTE] > The types referenced in this article are available in the [Code reference](#code-reference) section. @@ -21,7 +21,7 @@ The control provides the infrastructure ## What Is a ListView? - The control is an that is derived from . Typically, its items are members of a data collection and are represented as objects. A is a and can contain only a single child element. However, that child element can be any visual element. + The derives from . Typically, its items are members of a data collection and are represented as objects. A is a and can contain only a single child element. However, that child element can be any visual element. @@ -37,13 +37,13 @@ The control provides the infrastructure ![Screenshot that shows a ListView with GridView output.](./media/gridview-overview/listview-gridview-output.jpg) - You can create a custom view mode by defining a class that inherits from the class. The class provides the infrastructure that you need to create a custom view. For more information about how to create a custom view, see [Create a Custom View Mode for a ListView](how-to-create-a-custom-view-mode-for-a-listview.md). + You can create a custom view mode by defining a class that inherits from the class. The class provides the infrastructure you need to create a custom view. For more information about how to create a custom view, see [Create a Custom View Mode for a ListView](how-to-create-a-custom-view-mode-for-a-listview.md). ## Binding Data to a ListView - Use the and properties to specify items for a control. The following example sets the property to a data collection that is called `EmployeeInfoDataSource`. + Use the and properties to specify items for a control. The following example sets the property to a data collection called `EmployeeInfoDataSource`. [!code-xaml[ListViewCode#ItemsSource](~/samples/snippets/csharp/VS_Snippets_Wpf/ListViewCode/CSharp/Window1.xaml#itemssource)] @@ -53,7 +53,7 @@ The control provides the infrastructure [!code-vb[ListViewCode#GridViewColumnProperties](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ListViewCode/visualbasic/window1.xaml.vb#gridviewcolumnproperties)] [!code-xaml[ListViewCode#GridViewColumnProperties](~/samples/snippets/csharp/VS_Snippets_Wpf/ListViewCode/CSharp/Window1.xaml#gridviewcolumnproperties)] - You can also specify a as part of a definition that you use to style the cells in a column. In the following example, the that is identified with a sets the for a . Note that this example does not define the because doing so overrides the binding that is specified by . + You can also specify a as part of a definition that you use to style the cells in a column. In the following example, the identified with a sets the for a . Note that this example doesn't define the because doing so takes precedence over . [!code-xaml[ListViewTemplate#GridViewCellTemplate](~/samples/snippets/csharp/VS_Snippets_Wpf/ListViewTemplate/CS/window1.xaml#gridviewcelltemplate)] @@ -75,7 +75,7 @@ The control provides the infrastructure If you define an for a control and also define an , you must include a in the style in order for the to work correctly. - Do not use the and properties for content that is displayed by using a . To specify the alignment of content in a column of a , define a . + Do not use the and properties for content displayed by a . To specify the alignment of content in a column of a , define a . @@ -89,7 +89,7 @@ The control provides the infrastructure ## Creating a Custom View Mode - Customized views like are derived from the abstract class, which provides the tools to display data items that are represented as objects. + Customized views like are derived from the abstract class, which provides the tools to display data items represented as objects. ## Code reference