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
375
Custom UltraGrid control - not all properties are set
posted

Hi,

 I've created a custom grid that derives from UltraGrid.  I have set DisplayLayout.Override.HeaderAppearance.TextHAligh to "Center" in order to center all my columns but when I use it in a form, it's value is set to "Left".  I've noticed this with a few other properties as well.  How can I make sure that all properties that I've set in my custom grid are also set when I use it in a form ?

 Thanks

EP

  • 71886
    Offline posted

    Hello EP,

    You could make sure that all of your properties set are also set in the grid dragged to the form by building the derived 'UltraGrid' and then dragging it from the toolbox(usually on the top) on the desired form. This way you are sure that you are using the overriden WinGrid.

    Please do not hesitate to contact us if you need any additional assistance.