var tv = TableView.Active; if (tv == null) return; if (tv.CanResetFieldOrder) { tv.ResetFieldOrder(); var fldOrder = new List<string>(); fldOrder.Add("STATE_NAME"); fldOrder.Add("STATE_FIPS"); await tv.SetFieldOrderAsync(fldOrder); }
Target Platforms: Windows 11, Windows 10