Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
275
UltraGrid and Combos
posted

Are there any properties that should NOT be set when one wants to place a combo in a cell?

I can create a combo in a cell using a "fresh" UltraGrid but I can't in the one I have changed a bunch of properties on.

Here are the properties I have set or the designer has automatically set:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

appearance4.BackColor = System.Drawing.

SystemColors.Window;

appearance4.BorderColor = System.Drawing.

SystemColors.InactiveCaption;

 

 

this._pivotUltraGrid.DisplayLayout.Appearance = appearance4;

ultraGridBand1.ColHeadersVisible =

false;

 

 

this._pivotUltraGrid.DisplayLayout.BandsSerializer.Add(ultraGridBand1);

 

 

this._pivotUltraGrid.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;

 

 

this._pivotUltraGrid.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;

appearance1.BackColor = System.Drawing.

SystemColors.ActiveBorder;

appearance1.BackColor2 = System.Drawing.

SystemColors.ControlDark;

appearance1.BackGradientStyle = Infragistics.Win.

GradientStyle.Vertical;

appearance1.BorderColor = System.Drawing.

SystemColors.Window;

 

 

this._pivotUltraGrid.DisplayLayout.GroupByBox.Appearance = appearance1;

appearance2.ForeColor = System.Drawing.

SystemColors.GrayText;

 

 

this._pivotUltraGrid.DisplayLayout.GroupByBox.BandLabelAppearance = appearance2;

 

 

this._pivotUltraGrid.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;

appearance3.BackColor = System.Drawing.SystemColors.ControlLightLight;

appearance3.BackColor2 = System.Drawing.

 

SystemColors.Control;

appearance3.BackGradientStyle = Infragistics.Win.

GradientStyle.Horizontal;

appearance3.ForeColor = System.Drawing.

SystemColors.GrayText;

 

 

this._pivotUltraGrid.DisplayLayout.GroupByBox.PromptAppearance = appearance3;

 

 

this._pivotUltraGrid.DisplayLayout.MaxColScrollRegions = 1;

 

 

this._pivotUltraGrid.DisplayLayout.MaxRowScrollRegions = 1;

 

 

this._pivotUltraGrid.DisplayLayout.Override.AllowAddNew = Infragistics.Win.UltraWinGrid.AllowAddNew.No;

 

 

this._pivotUltraGrid.DisplayLayout.Override.AllowColMoving = Infragistics.Win.UltraWinGrid.AllowColMoving.NotAllowed;

 

 

this._pivotUltraGrid.DisplayLayout.Override.AllowColSizing = Infragistics.Win.UltraWinGrid.AllowColSizing.None;

 

 

this._pivotUltraGrid.DisplayLayout.Override.AllowColSwapping = Infragistics.Win.UltraWinGrid.AllowColSwapping.NotAllowed;

 

 

this._pivotUltraGrid.DisplayLayout.Override.AllowDelete = Infragistics.Win.DefaultableBoolean.False;

 

 

this._pivotUltraGrid.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;

 

 

this._pivotUltraGrid.DisplayLayout.Override.AllowUpdate = Infragistics.Win.DefaultableBoolean.False;

appearance6.BackColor = System.Drawing.

SystemColors.Window;

 

 

this._pivotUltraGrid.DisplayLayout.Override.CardAreaAppearance = appearance6;

appearance5.BorderColor = System.Drawing.

Color.Silver;

appearance5.TextTrimming = Infragistics.Win.

TextTrimming.EllipsisCharacter;

 

 

this._pivotUltraGrid.DisplayLayout.Override.CellAppearance = appearance5;

 

 

this._pivotUltraGrid.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.CellSelect;

 

 

this._pivotUltraGrid.DisplayLayout.Override.CellPadding = 0;

 

 

this._pivotUltraGrid.DisplayLayout.Override.FixedRowIndicator = Infragistics.Win.UltraWinGrid.FixedRowIndicator.None;

appearance9.BackColor = System.Drawing.SystemColors.Control;

appearance9.BackColor2 = System.Drawing.

SystemColors.ControlDark;

appearance9.BackGradientAlignment = Infragistics.Win.

GradientAlignment.Element;

appearance9.BackGradientStyle = Infragistics.Win.

GradientStyle.Horizontal;

appearance9.BorderColor = System.Drawing.

SystemColors.Window;

 

 

this._pivotUltraGrid.DisplayLayout.Override.GroupByRowAppearance = appearance9;

appearance11.TextHAlignAsString = "Left";

 

 

this._pivotUltraGrid.DisplayLayout.Override.HeaderAppearance = appearance11;

 

 

this._pivotUltraGrid.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;

 

 

this._pivotUltraGrid.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;

appearance10.BackColor = System.Drawing.

SystemColors.Window;

appearance10.BorderColor = System.Drawing.

Color.Silver;

 

 

this._pivotUltraGrid.DisplayLayout.Override.RowAppearance = appearance10;

 

 

this._pivotUltraGrid.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;

 

 

this._pivotUltraGrid.DisplayLayout.Override.RowSizing = Infragistics.Win.UltraWinGrid.RowSizing.Fixed;

appearance8.BackColor = System.Drawing.

SystemColors.ControlLight;

 

 

this._pivotUltraGrid.DisplayLayout.Override.TemplateAddRowAppearance = appearance8;

scrollBarLook1.ViewStyle = Infragistics.Win.UltraWinScrollBar.

ScrollBarViewStyle.Office2007;

 

 

this._pivotUltraGrid.DisplayLayout.ScrollBarLook = scrollBarLook1;

 

 

this._pivotUltraGrid.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;

 

 

this._pivotUltraGrid.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;

 

 

this._pivotUltraGrid.DisplayLayout.ViewStyle = Infragistics.Win.UltraWinGrid.ViewStyle.SingleBand;

 

 

this._pivotUltraGrid.Dock = System.Windows.Forms.DockStyle.Fill;

 

 

this._pivotUltraGrid.Location = new System.Drawing.Point(0, 0);

 

 

this._pivotUltraGrid.Name = "_pivotUltraGrid";

 

 

this._pivotUltraGrid.Size = new System.Drawing.Size(489, 315);

 

 

this._pivotUltraGrid.TabIndex = 0;

 

 

this._pivotUltraGrid.TextRenderingMode = Infragistics.Win.TextRenderingMode.GDIPlus;