I need to create a UserControl that essentially is a HeaderControl. I have tried creating a UserControl that inherits TD.Eyefinder.HeaderControl, but I lose designtime support for it as it just looks like a compontent. Is there a simple way to do this, or should I create a UserControl and add a HeaderControl to it that dock = fill? If the later is true how do I pass through the BuddyPane property so that it works correctly when I add it to a form. I have tried the following, but I believe that the VisibleChanged Event doesn't fire at design time, so it is always invisible...
<Category("Behavior")> _
<Description("Associates the HeaderControl with a NavigationPane so that the HeaderControl is only displayed when the NavigationPane is active.")> _
Public Property BuddyPane() As TD.Eyefinder.NavigationPane
Get
Return Me.hdcBase.BuddyPane
End Get
Set(ByVal value As TD.Eyefinder.NavigationPane)
Me.hdcBase.BuddyPane = value
End Set
End Property
Private Sub hdcProjectManagement_VisibleChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles hdcBase.VisibleChanged
Try
Me.Visible = hdcBase.Visible
Catch ex As Exception
FFI.ErrorModule.ExceptionHandling.LogExceptionInHandler(ex)
End Try
End Sub