如何右对齐 LINQPad 查询结果中的一列?
How do I right align one column in the results of a LINQPad query?
我有一个 LINQPad C# Espression 查询。在该查询的结果中,我想右对齐一列中的数据。所有其他列应保持当前的标准对齐方式(左对齐)。
这可能吗?
试试这个:
.Select (x => new { ..., Name = Util.WithStyle (x.Name, "float:right"), ...})
我有一个 LINQPad C# Espression 查询。在该查询的结果中,我想右对齐一列中的数据。所有其他列应保持当前的标准对齐方式(左对齐)。 这可能吗?
试试这个:
.Select (x => new { ..., Name = Util.WithStyle (x.Name, "float:right"), ...})