I have UltraListview but when i try to add item to the ultralistview , in UI it appears weirdly as shown
The properies of list view are as follows:
this.lstCurrency.Location = new System.Drawing.Point(452, 95); this.lstCurrency.Name = "lstCurrency"; this.lstCurrency.Size = new System.Drawing.Size(94,25); this.lstCurrency.TabIndex = 13; this.lstCurrency.View = Infragistics.Win.UltraWinListView.UltraListViewStyle.Details;
I am trying to add the item as
lstCurrency.Items.Add("-1", "All");
Hello,
It seems to me that there is not enough room provided. Please try to change the size to
this.lstCurrency.Size = new System.Drawing.Size(220, 220); for example.
Please do not hesitate to contact me if you need any additional assistance.
After changing the size and other properties the list view is now
// // lstCurrency // this.lstCurrency.Location = new System.Drawing.Point(452, 95); this.lstCurrency.Name = "lstCurrency"; this.lstCurrency.Size = new System.Drawing.Size(100,100); this.lstCurrency.TabIndex = 13; this.lstCurrency.View = Infragistics.Win.UltraWinListView.UltraListViewStyle.Details; this.lstCurrency.ItemSettings.SelectionType = Infragistics.Win.UltraWinListView.SelectionType.Extended; this.lstCurrency.ItemSettings.HideSelection = false; this.lstCurrency.AutoKeyboardSearch = true; this.lstCurrency.ItemSettings.AllowEdit = DefaultableBoolean.False; this.lstCurrency.ViewSettingsDetails.FullRowSelect = true; this.lstCurrency.ViewSettingsDetails.ColumnHeaderStyle = HeaderStyle.Standard; this.lstCurrency.ViewSettingsDetails.ColumnHeaderBorderStyle = UIElementBorderStyle.None; this.lstCurrency.ViewSettingsDetails.CheckBoxStyle = Infragistics.Win.UltraWinListView.CheckBoxStyle.CheckBox;
but in UI it is shown as