in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Browse by Tags

  • Override DrawRow + Setting Style

    I am overriding the flex grid's DrawRow method. Within this method I: 1. Get a CellRange consisting of the entire row. 2. Set the style on this CellRange. 3. Call base.DrawRow. This seems to work except that the other controls on my dialog, buttons, a list box and a combo box no longer redraw themselves...
    Posted to FlexGrid for .NET (Forum) by jim.bruetsch on 10-15-2007
    Filed under: C1FlexGrid, CellStyle
  • Cell indention

    Hi everybody, I am trying to implement an indention in the flexgrid cell using the Column.Format property. if I set the format to "#,##0 €" it works fine, result would be for example "12,345 €" What does not work is for example Column.Format = "0 "; it seems, the format...
    Posted to FlexGrid for .NET (Forum) by citizen.ron on 01-30-2008
    Filed under: C1FlexGrid, CellStyle, TextAlign, FlexGrid
  • FlexGrid Tree doesn't honor VisualStyle Property after Styling with Buttonbar?

    Hi, Programmers, it seems that FlexGrid Tree doesn't honor VisualStyle Property after Styling with Buttonbar? TreeStyleFlags. ButtonBar TreeStyleFlags.Complete TreeStyleFlags.CompleteLeaf switch columnheader style to 'Frozen'. Can I change this? Can You change this? Thanks for Your Comments...
    Posted to FlexGrid for .NET (Forum) by 47110815 on 02-14-2008
    Filed under: C1FlexGrid, Header, Handling OwnerDrawCell VisualStyle, CellStyle, OwnerDraw, Tree, styles, GridTree, FlexGrid
  • vertical gridlines in captions

    I used this code to get rid of the vertical gridlines in the grid: grid.Styles.Normal.Border.Style = C1.Win.C1FlexGrid.BorderStyleEnum.None; where grid is a C1FlexGrid. But it doesn't work for the captions (headers.) I tried this code: if (!grid.Styles.Contains("hstyle")) { grid.Styles...
    Posted to FlexGrid for .NET (Forum) by starg0ddess on 03-21-2008
    Filed under: C1FlexGrid, Header, CellStyle, styles
  • Re: Disabled style

    No, but you can apply your own style however you like. Try code like shown below to create a disabled style that looks similar to the standard disabled controls. Private disabledStyle As C1.Win.C1FlexGrid.CellStyle Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
    Posted to FlexGrid for .NET (Forum) by C1_GregL on 10-08-2007
    Filed under: C1FlexGrid, CellStyle
  • Re: User controlled Fore and Back Color

    This can be done using FlexGrid CellStyle objects. See the attached sample. Regards, Greg
    Posted to FlexGrid for .NET (Forum) by C1_GregL on 12-26-2007
    Filed under: C1FlexGrid, CellStyle
Page 1 of 1 (6 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.