简体   繁体   English

如何在列 C# 上对齐 ListView 项目

[英]How to align ListView Items on Columns C#

I'm using C# windows form, I want to align the "testing" listview items on the two different column我正在使用 C# windows 表单,我想对齐两个不同列上的“测试”列表视图项目

在此处输入图像描述

If there are additional columns need to be assigned, you can refer to the following steps.如果还有额外的列需要分配,可以参考以下步骤。

  1. Click the small triangle in the upper right corner and select Edit Items .点击右上角的小三角和 select Edit Items

    在此处输入图像描述

  2. Select the ListViewItem you want to edit, and click the ‧‧‧ in SubItems . Select 要编辑的ListViewItem ,点击SubItems中的‧‧‧

    在此处输入图像描述

  3. Add a new subitem, and enter the text.添加一个新的子项,然后输入文本。

    在此处输入图像描述

Hope this can help you.希望这可以帮到你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM