We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GBDG & Splitter Control

Thread ID:

Created:

Updated:

Platform:

Replies:

12547 Apr 1,2004 06:31 PM UTC Apr 2,2004 07:54 AM UTC Windows Forms 2
loading
Tags: GridControl
Jeremy Holt
Asked On April 1, 2004 06:31 PM UTC

Hi, I would like to create a derived grid control that is embedded in a splitter control. I have tried the following, but this is not working. Could you give me a clue as to how to do this. The thing is that I already have three applications running with many forms containing a simple derived GridDataBoundGrid. Rather than manually put a splitter control on the form and drag the grid to the control, I was rather hoping that I could simply extend the derived grid. Public Class NewGrid Inherits GridDataBoundGrid Private _splitter as SplitterControl Public Sub New With _splitter .ThemesEnabled = True .SupportsFlatScrollBars = True .SplitBars = Syncfusion.Windows.Forms.DynamicSplitBars.Both Me.FillSplitterPane = True .Controls.Add(Me) End With End Sub End Class Many thanks Jeremy

Administrator [Syncfusion]
Replied On April 1, 2004 08:37 PM UTC

I don''t know that you will be able to do this. The Splitter is a container control that holds things like the grid. So, you might try deriving teh splitter and let it have a Grid as a public member. The only thing designable would be the splitter (unless you do considerable work to expose the Grid member with its designer).

Jeremy Holt
Replied On April 2, 2004 07:54 AM UTC

Clay OK - thanks - back to the drawing board ! Regards Jeremy

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;