Answers for "WPF ListView with Columns Binding"

C#
0

WPF ListView with Columns Binding

<window x:class="WpfApplication2.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" title="MainWindow" height="350" width="525">
    <grid>
        <listview margin="10" name="BusinessListView">
            <listview.view>
                <gridview>
                    <gridviewcolumn header="Company" width="120" displaymemberbinding="{Binding Company}"></gridviewcolumn>
                    <gridviewcolumn header="Url" width="200" displaymemberbinding="{Binding Url}"></gridviewcolumn>
                    <gridviewcolumn header="Phone" width="100" displaymemberbinding="{Binding Phone}"></gridviewcolumn>
                </gridview>
            </listview.view>
        </listview>
    </grid>
</window>
Posted by: Guest on May-04-2022

Code answers related to "WPF ListView with Columns Binding"

C# Answers by Framework

Browse Popular Code Answers by Language