BExplorer.Shell.Defaults.ToNativeColumn C# (CSharp) Метод

ToNativeColumn() публичный статический Метод

Convert and Collumns structure to LVCOLUMN (Native Listview Column)
public static ToNativeColumn ( this col, bool isDetails = false ) : LVCOLUMN
col this the column
isDetails bool
Результат LVCOLUMN
		public static LVCOLUMN ToNativeColumn(this Collumns col, bool isDetails = false) {
			LVCOLUMN column = new LVCOLUMN();
			column.mask = LVCF.LVCF_FMT | LVCF.LVCF_TEXT | LVCF.LVCF_WIDTH | LVCF.LVCF_MINWIDTH | LVCF.LVCF_SUBITEM;
			if (isDetails)
				column.cx = col.Width;
			column.pszText = col.Name;
			column.iSubItem = 1;
			column.fmt = col.CollumnType == typeof(long) ? LVCFMT.RIGHT : LVCFMT.LEFT;
			if (isDetails)
				column.cxMin = col.MinWidth;
			return column;
		}
		public static Dictionary<PROPERTYKEY,Collumns> AvailableColumns(this ShellView view) {