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
918
Appearance object
posted

How do you create an appearance object and assign it to a grid?

  • 469350
    Offline posted

    The grid has many appearance properties. So how you do this depends on what part of the grid you want to affect and what you want to acheive.

    The main appearance of the grid would probably be the grid.DisplayLayout.Appearance. You don't need to create a new appearance to apply settings to this appearance, you can simply set properties on this appearance, like:

    grid.DisplayLayout.Appearance.BackColor = Color.Red