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
595
More unwanted overlapped rectangles. Bug or feature?
posted

Hello!

I suppress draw filter for focus rectangle and try this code instead of:

this.ultraGrid1.DisplayLayout.Override.SelectTypeRow = SelectType.Extended;
this.ultraGrid1.DisplayLayout.Override.SelectTypeCell = SelectType.Extended;
this.ultraGrid1.DisplayLayout.Override.SelectTypeCol = SelectType.Extended;

this.ultraGrid1.DisplayLayout.Override.SelectedAppearancesEnabled = DefaultableBoolean.True;

this.ultraGrid1.DisplayLayout.SelectionOverlayBorderThickness = 3;
this.ultraGrid1.DisplayLayout.SelectionOverlayBorderColor = Color.Gold;
this.ultraGrid1.DisplayLayout.SelectionOverlayColor = Color.BlueViolet;

this.ultraGrid1.DisplayLayout.Override.ActiveAppearancesEnabled = DefaultableBoolean.True;
this.ultraGrid1.DisplayLayout.Override.ActiveCellBorderThickness = 3;
this.ultraGrid1.DisplayLayout.Override.ActiveCellAppearance.BorderColor = Color.Black;


* This source code was highlighted with Source Code Highlighter.

Yeah, idea is cool, but implementation is not accurated, and so useless.

Parents
  • 595
    Offline posted

    For clarity's sake I wrote two samples.

    First sample ActiveCellBorderThicknessIncident.

    1. Build and Run sample ActiveCellBorderThicknessIncident

    2. Select cell

    3. Scroll to right

    So BorderThickness-defined active cell is overlapped instead of clipped with RowSelector column.

    Second sample SelectionOverlayColorIncident.

    1. Build and Run sample SelectionOverlayColorIncident

    2. Select a number of cells

    3. Scroll to right

    So if SelectionOverlayColor/SelectionOverlayBorderThickness is defined than rectangle of selection is overlapped instead of clipped with RowSelector column.

    TwoIncidents.zip
Reply Children
No Data